#2E3FA9#2E3FA9

#2E3FA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.170 H 270.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2E3FA9
RGBrgb(46, 63, 169)
HSLhsl(232, 57%, 42%)
HSVhsv(232, 73%, 66%)
CMYKcmyk(72.8%, 62.7%, 0%, 33.7%)
CIE-LABlab(31.81, 30.48, -58.82)
CIE-LCHlch(31.81, 66.25, 297.39°)
OKLaboklab(42.41% 0.0009 -0.1699)
OKLCHoklch(42.41% 0.17 270.3)
XYZxyz(10.0632, 6.9994, 38.3491)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FA9 #A9982E
analogous
#2E7DA9 #2E3FA9 #5A2EA9
triadic
#2E3FA9 #A92E3F #3FA92E
tetradic
#2E3FA9 #A92E7D #A9982E #2EA95A
square
#2E3FA9 #A92E7D #A9982E #2EA95A
split-complementary
#2E3FA9 #A95A2E #7DA92E
monochromatic
#141B49 #212D79 #2E3FA9 #475ACD #7785DA

Accessibility & contrast

On white

8.75
#2E3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E3FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3FA9
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FA9#FFFFFF#000000##FFFFFF
##2E3FA91.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3fa9;
/* rgb */ color: rgb(46, 63, 169);
/* oklch */ color: oklch(42.4% 0.170 270.3);
Tailwind
colors: {
  custom: {
    50: '#7874c3',
    500: '#2e3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2e3fa9;
$custom-light: #7874c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3fa9",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 231.707,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42411,
    "c": 0.16987,
    "h": 270.3
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#2E3FA9
secondary
#C2B771
accent
#CB47E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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