#2B3F72#2B3F72

#2B3F72 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.091 H 266.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2B3F72
RGBrgb(43, 63, 114)
HSLhsl(223, 45%, 31%)
HSVhsv(223, 62%, 45%)
CMYKcmyk(62.3%, 44.7%, 0%, 55.3%)
CIE-LABlab(27.53, 9.35, -31.86)
CIE-LCHlch(27.53, 33.20, 286.35°)
OKLaboklab(37.85% -0.0062 -0.0907)
OKLCHoklch(37.85% 0.091 266.1)
XYZxyz(5.8100, 5.2830, 16.6299)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F72 #725E2B
analogous
#2B6272 #2B3F72 #3A2B72
triadic
#2B3F72 #722B3F #3F722B
tetradic
#2B3F72 #722B62 #725E2B #2B723A
square
#2B3F72 #722B62 #725E2B #2B723A
split-complementary
#2B3F72 #723A2B #62722B
monochromatic
#090E19 #1A2646 #2B3F72 #3C589E #5875C0

Accessibility & contrast

On white

10.21
#2B3F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B3F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F72
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F72#FFFFFF#000000##FFFFFF
##2B3F721.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#1E3E71
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3f72;
/* rgb */ color: rgb(43, 63, 114);
/* oklch */ color: oklch(37.8% 0.091 266.1);
Tailwind
colors: {
  custom: {
    50: '#6b739b',
    500: '#2b3f72',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f72;
$custom-light: #6b739b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f72",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 114
  },
  "hsl": {
    "h": 223.099,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37846,
    "c": 0.09092,
    "h": 266.1
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#2B3F72
secondary
#A48E55
accent
#B053D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B3F72

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

Preview Lab → · Contrast checker → · Palette generator →

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