#2B3F76#2B3F76

#2B3F76 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.097 H 266.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2B3F76
RGBrgb(43, 63, 118)
HSLhsl(224, 47%, 32%)
HSVhsv(224, 64%, 46%)
CMYKcmyk(63.6%, 46.6%, 0%, 53.7%)
CIE-LABlab(27.78, 10.85, -33.99)
CIE-LCHlch(27.78, 35.68, 287.70°)
OKLaboklab(38.12% -0.0055 -0.0969)
OKLCHoklch(38.12% 0.097 266.8)
XYZxyz(6.0427, 5.3761, 17.8553)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F76 #76622B
analogous
#2B6576 #2B3F76 #3D2B76
triadic
#2B3F76 #762B3F #3F762B
tetradic
#2B3F76 #762B65 #76622B #2B763D
square
#2B3F76 #762B65 #76622B #2B763D
split-complementary
#2B3F76 #763D2B #65762B
monochromatic
#0A0F1C #1B2749 #2B3F76 #3B57A3 #5975C2

Accessibility & contrast

On white

10.12
#2B3F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B3F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F76
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F76#FFFFFF#000000##FFFFFF
##2B3F761.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#1A3E75
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3f76;
/* rgb */ color: rgb(43, 63, 118);
/* oklch */ color: oklch(38.1% 0.097 266.8);
Tailwind
colors: {
  custom: {
    50: '#6c739e',
    500: '#2b3f76',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f76;
$custom-light: #6c739e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f76",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 224,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.0971,
    "h": 266.8
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#2B3F76
secondary
#A89255
accent
#B352D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B3F76

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

Preview Lab → · Contrast checker → · Palette generator →

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