#2B407C#2B407C

#2B407C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.105 H 267.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2B407C
RGBrgb(43, 64, 124)
HSLhsl(224, 49%, 33%)
HSVhsv(224, 65%, 49%)
CMYKcmyk(65.3%, 48.4%, 0%, 51.4%)
CIE-LABlab(28.47, 12.43, -36.66)
CIE-LCHlch(28.47, 38.70, 288.73°)
OKLaboklab(38.78% -0.0056 -0.1048)
OKLCHoklch(38.78% 0.105 267)
XYZxyz(6.4665, 5.6350, 19.8118)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B407C #7C672B
analogous
#2B697C #2B407C #3E2B7C
triadic
#2B407C #7C2B40 #407C2B
tetradic
#2B407C #7C2B69 #7C672B #2B7C3E
square
#2B407C #7C2B69 #7C672B #2B7C3E
split-complementary
#2B407C #7C3E2B #697C2B
monochromatic
#0B1121 #1B294F #2B407C #3B57A9 #5B77C6

Accessibility & contrast

On white

9.87
#2B407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B407C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B407C#FFFFFF#000000##FFFFFF
##2B407C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#14407B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b407c;
/* rgb */ color: rgb(43, 64, 124);
/* oklch */ color: oklch(38.8% 0.105 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d74a2',
    500: '#2b407c',
    950: '#000000',
  },
}
SCSS
$custom: #2b407c;
$custom-light: #6d74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b407c",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 224.444,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3878,
    "c": 0.10492,
    "h": 267
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#2B407C
secondary
#AC9657
accent
#B550D8
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B407C

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

Preview Lab → · Contrast checker → · Palette generator →

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