#2B407E#2B407E

#2B407E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.108 H 267.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B407E
RGBrgb(43, 64, 126)
HSLhsl(225, 49%, 33%)
HSVhsv(225, 66%, 49%)
CMYKcmyk(65.9%, 49.2%, 0%, 50.6%)
CIE-LABlab(28.61, 13.18, -37.69)
CIE-LCHlch(28.61, 39.93, 289.28°)
OKLaboklab(38.92% -0.0052 -0.1078)
OKLCHoklch(38.92% 0.108 267.2)
XYZxyz(6.5943, 5.6862, 20.4846)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B407E #7E692B
analogous
#2B697E #2B407E #3F2B7E
triadic
#2B407E #7E2B40 #407E2B
tetradic
#2B407E #7E2B69 #7E692B #2B7E3F
square
#2B407E #7E2B69 #7E692B #2B7E3F
split-complementary
#2B407E #7E3F2B #697E2B
monochromatic
#0C1223 #1B2950 #2B407E #3B57AC #5C77C7

Accessibility & contrast

On white

9.83
#2B407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B407E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B407E#FFFFFF#000000##FFFFFF
##2B407E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214780
Deuteranopia (green-blind)
#11407D
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b407e;
/* rgb */ color: rgb(43, 64, 126);
/* oklch */ color: oklch(38.9% 0.108 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e74a4',
    500: '#2b407e',
    950: '#000000',
  },
}
SCSS
$custom: #2b407e;
$custom-light: #6e74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b407e",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 224.819,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.10795,
    "h": 267.2
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#2B407E
secondary
#AD9858
accent
#B64FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B407E

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

Preview Lab → · Contrast checker → · Palette generator →

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