#2B3E71#2B3E71

#2B3E71 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.091 H 266.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2B3E71
RGBrgb(43, 62, 113)
HSLhsl(224, 45%, 31%)
HSVhsv(224, 62%, 44%)
CMYKcmyk(61.9%, 45.1%, 0%, 55.7%)
CIE-LABlab(27.16, 9.66, -31.81)
CIE-LCHlch(27.16, 33.25, 286.89°)
OKLaboklab(37.54% -0.0053 -0.0906)
OKLCHoklch(37.54% 0.091 266.7)
XYZxyz(5.6985, 5.1506, 16.3135)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E71 #715E2B
analogous
#2B6171 #2B3E71 #3B2B71
triadic
#2B3E71 #712B3E #3E712B
tetradic
#2B3E71 #712B61 #715E2B #2B713B
square
#2B3E71 #712B61 #715E2B #2B713B
split-complementary
#2B3E71 #713B2B #61712B
monochromatic
#090D18 #1A2645 #2B3E71 #3C569D #5773BF

Accessibility & contrast

On white

10.34
#2B3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B3E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E71
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E71#FFFFFF#000000##FFFFFF
##2B3E711.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274473
Deuteranopia (green-blind)
#1E3D70
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3e71;
/* rgb */ color: rgb(43, 62, 113);
/* oklch */ color: oklch(37.5% 0.091 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b729a',
    500: '#2b3e71',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e71;
$custom-light: #6b729a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e71",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 223.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.09072,
    "h": 266.7
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#2B3E71
secondary
#A38E55
accent
#B153D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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