#2B427E#2B427E

#2B427E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.105 H 266.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2B427E
RGBrgb(43, 66, 126)
HSLhsl(223, 49%, 33%)
HSVhsv(223, 66%, 49%)
CMYKcmyk(65.9%, 47.6%, 0%, 50.6%)
CIE-LABlab(29.20, 11.82, -36.74)
CIE-LCHlch(29.20, 38.60, 287.83°)
OKLaboklab(39.38% -0.0074 -0.105)
OKLCHoklch(39.38% 0.105 266)
XYZxyz(6.7091, 5.9158, 20.5229)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B427E #7E672B
analogous
#2B6B7E #2B427E #3D2B7E
triadic
#2B427E #7E2B42 #427E2B
tetradic
#2B427E #7E2B6B #7E672B #2B7E3D
square
#2B427E #7E2B6B #7E672B #2B7E3D
split-complementary
#2B427E #7E3D2B #6B7E2B
monochromatic
#0C1223 #1B2A50 #2B427E #3B5AAC #5C7AC7

Accessibility & contrast

On white

9.62
#2B427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B427E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B427E#FFFFFF#000000##FFFFFF
##2B427E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b427e;
/* rgb */ color: rgb(43, 66, 126);
/* oklch */ color: oklch(39.4% 0.105 266.0);
Tailwind
colors: {
  custom: {
    50: '#6d76a4',
    500: '#2b427e',
    950: '#000000',
  },
}
SCSS
$custom: #2b427e;
$custom-light: #6d76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b427e",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 223.373,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.10526,
    "h": 266
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#2B427E
secondary
#AD9558
accent
#B34FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B427E

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

Preview Lab → · Contrast checker → · Palette generator →

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