#2E427F#2E427F

#2E427F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.106 H 267.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2E427F
RGBrgb(46, 66, 127)
HSLhsl(225, 47%, 34%)
HSVhsv(225, 64%, 50%)
CMYKcmyk(63.8%, 48%, 0%, 50.2%)
CIE-LABlab(29.44, 12.78, -36.98)
CIE-LCHlch(29.44, 39.13, 289.07°)
OKLaboklab(39.63% -0.0042 -0.1056)
OKLCHoklch(39.63% 0.106 267.7)
XYZxyz(6.9044, 6.0090, 20.8706)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E427F #7F6B2E
analogous
#2E6B7F #2E427F #432E7F
triadic
#2E427F #7F2E42 #427F2E
tetradic
#2E427F #7F2E6B #7F6B2E #2E7F43
square
#2E427F #7F2E6B #7F6B2E #2E7F43
split-complementary
#2E427F #7F432E #6B7F2E
monochromatic
#0D1325 #1E2B52 #2E427F #3E59AC #617AC6

Accessibility & contrast

On white

9.54
#2E427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E427F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E427F#FFFFFF#000000##FFFFFF
##2E427F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#17427E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e427f;
/* rgb */ color: rgb(46, 66, 127);
/* oklch */ color: oklch(39.6% 0.106 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f76a4',
    500: '#2e427f',
    950: '#000000',
  },
}
SCSS
$custom: #2e427f;
$custom-light: #6f76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e427f",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 225.185,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.10571,
    "h": 267.7
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#2E427F
secondary
#AD995C
accent
#B651D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E427F

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

Preview Lab → · Contrast checker → · Palette generator →

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