#2E41A2#2E41A2

#2E41A2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.158 H 269.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2E41A2
RGBrgb(46, 65, 162)
HSLhsl(230, 56%, 41%)
HSVhsv(230, 72%, 64%)
CMYKcmyk(71.6%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.74, 26.58, -54.72)
CIE-LCHlch(31.74, 60.84, 295.90°)
OKLaboklab(42.18% -0.0005 -0.1578)
OKLCHoklch(42.18% 0.158 269.8)
XYZxyz(9.5364, 6.9691, 35.0180)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E41A2 #A28F2E
analogous
#2E7BA2 #2E41A2 #552EA2
triadic
#2E41A2 #A22E41 #41A22E
tetradic
#2E41A2 #A22E7B #A28F2E #2EA255
square
#2E41A2 #A22E7B #A28F2E #2EA255
split-complementary
#2E41A2 #A2552E #7BA22E
monochromatic
#131B43 #202E72 #2E41A2 #4359CA #7384D7

Accessibility & contrast

On white

8.77
#2E41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E41A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E41A2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E41A2#FFFFFF#000000##FFFFFF
##2E41A21.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e41a2;
/* rgb */ color: rgb(46, 65, 162);
/* oklch */ color: oklch(42.2% 0.158 269.8);
Tailwind
colors: {
  custom: {
    50: '#7775be',
    500: '#2e41a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e41a2;
$custom-light: #7775be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e41a2",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 230.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.15783,
    "h": 269.8
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#2E41A2
secondary
#BFB16D
accent
#C649DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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