#2C2B8F#2C2B8F

#2C2B8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.160 H 275.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2C2B8F
RGBrgb(44, 43, 143)
HSLhsl(241, 54%, 36%)
HSVhsv(241, 70%, 56%)
CMYKcmyk(69.2%, 69.9%, 0%, 43.9%)
CIE-LABlab(24.47, 33.73, -55.00)
CIE-LCHlch(24.47, 64.52, 301.52°)
OKLaboklab(36.3% 0.015 -0.1588)
OKLCHoklch(36.3% 0.16 275.4)
XYZxyz(6.8589, 4.2458, 26.4393)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B8F #8E8F2B
analogous
#2B5C8F #2C2B8F #5E2B8F
triadic
#2C2B8F #8F2C2B #2B8F2C
tetradic
#2C2B8F #8F2B5C #8E8F2B #2B8F5E
square
#2C2B8F #8F2B5C #8E8F2B #2B8F5E
split-complementary
#2C2B8F #8F5E2B #5C8F2B
monochromatic
#0F0F31 #1E1D60 #2C2B8F #3A39BE #6564D0

Accessibility & contrast

On white

11.36
#2C2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C2B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B8F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B8F#FFFFFF#000000##FFFFFF
##2C2B8F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2b8f;
/* rgb */ color: rgb(44, 43, 143);
/* oklch */ color: oklch(36.3% 0.160 275.4);
Tailwind
colors: {
  custom: {
    50: '#7365b1',
    500: '#2c2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b8f;
$custom-light: #7365b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b8f",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 240.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.15956,
    "h": 275.4
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#2C2B8F
secondary
#B6B75F
accent
#DD4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2B8F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2C2B8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva