#2B2C6A#2B2C6A

#2B2C6A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.106 H 278.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2C6A
RGBrgb(43, 44, 106)
HSLhsl(239, 42%, 29%)
HSVhsv(239, 59%, 42%)
CMYKcmyk(59.4%, 58.5%, 0%, 58.4%)
CIE-LABlab(21.41, 19.58, -36.54)
CIE-LCHlch(21.41, 41.46, 298.19°)
OKLaboklab(33.03% 0.0151 -0.1047)
OKLCHoklch(33.03% 0.106 278.2)
XYZxyz(4.4976, 3.3553, 14.0435)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C6A #6A692B
analogous
#2B4C6A #2B2C6A #4A2B6A
triadic
#2B2C6A #6A2B2C #2C6A2B
tetradic
#2B2C6A #6A2B4C #6A692B #2B6A4A
square
#2B2C6A #6A2B4C #6A692B #2B6A4A
split-complementary
#2B2C6A #6A4A2B #4C6A2B
monochromatic
#090916 #191A3E #2B2C6A #3D3E96 #5557BA

Accessibility & contrast

On white

12.57
#2B2C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B2C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C6A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C6A#FFFFFF#000000##FFFFFF
##2B2C6A1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02366C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#093A46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2c6a;
/* rgb */ color: rgb(43, 44, 106);
/* oklch */ color: oklch(33.0% 0.106 278.2);
Tailwind
colors: {
  custom: {
    50: '#6b6595',
    500: '#2b2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c6a;
$custom-light: #6b6595;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c6a",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 239.048,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.10577,
    "h": 278.2
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#2B2C6A
secondary
#9C9B55
accent
#D056D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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