#2E427A#2E427A

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

Color values

HEX#2E427A
RGBrgb(46, 66, 122)
HSLhsl(224, 45%, 33%)
HSVhsv(224, 62%, 48%)
CMYKcmyk(62.3%, 45.9%, 0%, 52.2%)
CIE-LABlab(29.11, 10.92, -34.37)
CIE-LCHlch(29.11, 36.06, 287.63°)
OKLaboklab(39.28% -0.005 -0.0979)
OKLCHoklch(39.28% 0.098 267.1)
XYZxyz(6.5866, 5.8819, 19.1968)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E427A #7A662E
analogous
#2E687A #2E427A #402E7A
triadic
#2E427A #7A2E42 #427A2E
tetradic
#2E427A #7A2E68 #7A662E #2E7A40
square
#2E427A #7A2E68 #7A662E #2E7A40
split-complementary
#2E427A #7A402E #687A2E
monochromatic
#0C1221 #1D2A4E #2E427A #3F5AA6 #607AC3

Accessibility & contrast

On white

9.65
#2E427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E427A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E427A#FFFFFF#000000##FFFFFF
##2E427A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e427a;
/* rgb */ color: rgb(46, 66, 122);
/* oklch */ color: oklch(39.3% 0.098 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e76a1',
    500: '#2e427a',
    950: '#000000',
  },
}
SCSS
$custom: #2e427a;
$custom-light: #6e76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e427a",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 224.211,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.09808,
    "h": 267.1
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#2E427A
secondary
#AA955A
accent
#B353D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #2E427A

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

Preview Lab → · Contrast checker → · Palette generator →

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