#2E427D#2E427D

#2E427D is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.103 H 267.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2E427D
RGBrgb(46, 66, 125)
HSLhsl(225, 46%, 34%)
HSVhsv(225, 63%, 49%)
CMYKcmyk(63.2%, 47.2%, 0%, 51%)
CIE-LABlab(29.30, 12.04, -35.94)
CIE-LCHlch(29.30, 37.90, 288.52°)
OKLaboklab(39.48% -0.0045 -0.1026)
OKLCHoklch(39.48% 0.103 267.5)
XYZxyz(6.7753, 5.9574, 20.1909)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E427D #7D692E
analogous
#2E697D #2E427D #412E7D
triadic
#2E427D #7D2E42 #427D2E
tetradic
#2E427D #7D2E69 #7D692E #2E7D41
square
#2E427D #7D2E69 #7D692E #2E7D41
split-complementary
#2E427D #7D412E #697D2E
monochromatic
#0D1324 #1E2A50 #2E427D #3E5AAA #617AC5

Accessibility & contrast

On white

9.58
#2E427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E427D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E427D#FFFFFF#000000##FFFFFF
##2E427D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e427d;
/* rgb */ color: rgb(46, 66, 125);
/* oklch */ color: oklch(39.5% 0.103 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f76a3',
    500: '#2e427d',
    950: '#000000',
  },
}
SCSS
$custom: #2e427d;
$custom-light: #6f76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e427d",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 224.81,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.10267,
    "h": 267.5
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#2E427D
secondary
#AB975B
accent
#B452D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E427D

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

Preview Lab → · Contrast checker → · Palette generator →

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