#2E427B#2E427B

#2E427B is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.100 H 267.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2E427B
RGBrgb(46, 66, 123)
HSLhsl(224, 46%, 33%)
HSVhsv(224, 63%, 48%)
CMYKcmyk(62.6%, 46.3%, 0%, 51.8%)
CIE-LABlab(29.18, 11.29, -34.89)
CIE-LCHlch(29.18, 36.67, 287.94°)
OKLaboklab(39.34% -0.0048 -0.0995)
OKLCHoklch(39.34% 0.1 267.2)
XYZxyz(6.6489, 5.9068, 19.5248)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E427B #7B672E
analogous
#2E687B #2E427B #412E7B
triadic
#2E427B #7B2E42 #427B2E
tetradic
#2E427B #7B2E68 #7B672E #2E7B41
square
#2E427B #7B2E68 #7B672E #2E7B41
split-complementary
#2E427B #7B412E #687B2E
monochromatic
#0D1222 #1D2A4E #2E427B #3F5AA8 #607AC3

Accessibility & contrast

On white

9.63
#2E427B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E427B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E427B#FFFFFF#000000##FFFFFF
##2E427B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487D
Deuteranopia (green-blind)
#1C427A
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e427b;
/* rgb */ color: rgb(46, 66, 123);
/* oklch */ color: oklch(39.3% 0.100 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e76a1',
    500: '#2e427b',
    950: '#000000',
  },
}
SCSS
$custom: #2e427b;
$custom-light: #6e76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e427b",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 224.416,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.09962,
    "h": 267.2
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#2E427B
secondary
#AA955B
accent
#B353D5
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E427B

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

Preview Lab → · Contrast checker → · Palette generator →

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