#2B2C4E#2B2C4E

#2B2C4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.060 H 281.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2C4E
RGBrgb(43, 44, 78)
HSLhsl(238, 29%, 24%)
HSVhsv(238, 45%, 31%)
CMYKcmyk(44.9%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.49, 9.65, -21.10)
CIE-LCHlch(19.49, 23.21, 294.58°)
OKLaboklab(30.97% 0.0115 -0.0594)
OKLCHoklch(30.97% 0.061 281)
XYZxyz(3.2717, 2.8649, 7.5868)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C4E #4E4D2B
analogous
#2B3D4E #2B2C4E #3B2B4E
triadic
#2B2C4E #4E2B2C #2C4E2B
tetradic
#2B2C4E #4E2B3D #4E4D2B #2B4E3B
square
#2B2C4E #4E2B3D #4E4D2B #2B4E3B
split-complementary
#2B2C4E #4E3B2B #3D4E2B
monochromatic
#0B0B14 #151627 #2B2C4E #414275 #56599D

Accessibility & contrast

On white

13.35
#2B2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2B2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C4E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C4E#FFFFFF#000000##FFFFFF
##2B2C4E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#203339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b2c4e;
/* rgb */ color: rgb(43, 44, 78);
/* oklch */ color: oklch(31.0% 0.060 281.0);
Tailwind
colors: {
  custom: {
    50: '#666580',
    500: '#2b2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c4e;
$custom-light: #666580;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c4e",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 238.286,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30968,
    "c": 0.0605,
    "h": 281
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#2B2C4E
secondary
#807F55
accent
#C263C5
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2B2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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