#2E417D#2E417D

#2E417D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.104 H 268.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2E417D
RGBrgb(46, 65, 125)
HSLhsl(226, 46%, 34%)
HSVhsv(226, 63%, 49%)
CMYKcmyk(63.2%, 48%, 0%, 51%)
CIE-LABlab(29.01, 12.72, -36.41)
CIE-LCHlch(29.01, 38.57, 289.26°)
OKLaboklab(39.26% -0.0034 -0.104)
OKLCHoklch(39.26% 0.104 268.1)
XYZxyz(6.7174, 5.8415, 20.1716)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E417D #7D6A2E
analogous
#2E687D #2E417D #422E7D
triadic
#2E417D #7D2E41 #417D2E
tetradic
#2E417D #7D2E68 #7D6A2E #2E7D42
square
#2E417D #7D2E68 #7D6A2E #2E7D42
split-complementary
#2E417D #7D422E #687D2E
monochromatic
#0D1224 #1E2A50 #2E417D #3E58AA #6179C5

Accessibility & contrast

On white

9.68
#2E417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E417D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E417D#FFFFFF#000000##FFFFFF
##2E417D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#17417C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e417d;
/* rgb */ color: rgb(46, 65, 125);
/* oklch */ color: oklch(39.3% 0.104 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f75a3',
    500: '#2e417d',
    950: '#000000',
  },
}
SCSS
$custom: #2e417d;
$custom-light: #6f75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e417d",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 225.57,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.10402,
    "h": 268.1
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#2E417D
secondary
#AB985B
accent
#B652D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E417D

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

Preview Lab → · Contrast checker → · Palette generator →

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