#2E417A#2E417A

#2E417A is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.099 H 267.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2E417A
RGBrgb(46, 65, 122)
HSLhsl(225, 45%, 33%)
HSVhsv(225, 62%, 48%)
CMYKcmyk(62.3%, 46.7%, 0%, 52.2%)
CIE-LABlab(28.81, 11.61, -34.84)
CIE-LCHlch(28.81, 36.72, 288.42°)
OKLaboklab(39.05% -0.0039 -0.0994)
OKLCHoklch(39.05% 0.099 267.8)
XYZxyz(6.5287, 5.7660, 19.1775)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E417A #7A672E
analogous
#2E677A #2E417A #412E7A
triadic
#2E417A #7A2E41 #417A2E
tetradic
#2E417A #7A2E67 #7A672E #2E7A41
square
#2E417A #7A2E67 #7A672E #2E7A41
split-complementary
#2E417A #7A412E #677A2E
monochromatic
#0C1221 #1D294E #2E417A #3F59A6 #6078C3

Accessibility & contrast

On white

9.75
#2E417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E417A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E417A#FFFFFF#000000##FFFFFF
##2E417A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e417a;
/* rgb */ color: rgb(46, 65, 122);
/* oklch */ color: oklch(39.0% 0.099 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e75a1',
    500: '#2e417a',
    950: '#000000',
  },
}
SCSS
$custom: #2e417a;
$custom-light: #6e75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e417a",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 225,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.09945,
    "h": 267.8
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#2E417A
secondary
#AA965A
accent
#B453D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #2E417A

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

Preview Lab → · Contrast checker → · Palette generator →

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