#2B407A#2B407A

#2B407A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.102 H 266.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2B407A
RGBrgb(43, 64, 122)
HSLhsl(224, 48%, 32%)
HSVhsv(224, 65%, 48%)
CMYKcmyk(64.8%, 47.5%, 0%, 52.2%)
CIE-LABlab(28.34, 11.67, -35.61)
CIE-LCHlch(28.34, 37.47, 288.14°)
OKLaboklab(38.64% -0.0059 -0.1017)
OKLCHoklch(38.64% 0.102 266.7)
XYZxyz(6.3413, 5.5850, 19.1524)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B407A #7A652B
analogous
#2B677A #2B407A #3E2B7A
triadic
#2B407A #7A2B40 #407A2B
tetradic
#2B407A #7A2B67 #7A652B #2B7A3E
square
#2B407A #7A2B67 #7A652B #2B7A3E
split-complementary
#2B407A #7A3E2B #677A2B
monochromatic
#0B111F #1B284D #2B407A #3B58A7 #5A77C5

Accessibility & contrast

On white

9.92
#2B407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B407A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B407A#FFFFFF#000000##FFFFFF
##2B407A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#173F79
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b407a;
/* rgb */ color: rgb(43, 64, 122);
/* oklch */ color: oklch(38.6% 0.102 266.7);
Tailwind
colors: {
  custom: {
    50: '#6d74a1',
    500: '#2b407a',
    950: '#000000',
  },
}
SCSS
$custom: #2b407a;
$custom-light: #6d74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b407a",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 224.051,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.10187,
    "h": 266.7
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#2B407A
secondary
#AB9456
accent
#B450D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2B407A

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

Preview Lab → · Contrast checker → · Palette generator →

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