#2B4072#2B4072

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

Color values

HEX#2B4072
RGBrgb(43, 64, 114)
HSLhsl(222, 45%, 31%)
HSVhsv(222, 62%, 45%)
CMYKcmyk(62.3%, 43.9%, 0%, 55.3%)
CIE-LABlab(27.83, 8.66, -31.38)
CIE-LCHlch(27.83, 32.55, 285.44°)
OKLaboklab(38.08% -0.0074 -0.0893)
OKLCHoklch(38.08% 0.09 265.2)
XYZxyz(5.8659, 5.3948, 16.6485)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4072 #725D2B
analogous
#2B6372 #2B4072 #392B72
triadic
#2B4072 #722B40 #40722B
tetradic
#2B4072 #722B63 #725D2B #2B7239
square
#2B4072 #722B63 #725D2B #2B7239
split-complementary
#2B4072 #72392B #63722B
monochromatic
#090E19 #1A2746 #2B4072 #3C599E #5876C0

Accessibility & contrast

On white

10.10
#2B4072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4072
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4072#FFFFFF#000000##FFFFFF
##2B40721.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4072;
/* rgb */ color: rgb(43, 64, 114);
/* oklch */ color: oklch(38.1% 0.090 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b749b',
    500: '#2b4072',
    950: '#000000',
  },
}
SCSS
$custom: #2b4072;
$custom-light: #6b749b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4072",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 222.254,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.08958,
    "h": 265.2
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#2B4072
secondary
#A48C55
accent
#AE53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4072

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

Preview Lab → · Contrast checker → · Palette generator →

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