#2E2F91#2E2F91

#2E2F91 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.157 H 275.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2E2F91
RGBrgb(46, 47, 145)
HSLhsl(239, 52%, 37%)
HSVhsv(239, 68%, 57%)
CMYKcmyk(68.3%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.74, 32.18, -54.15)
CIE-LCHlch(25.74, 62.99, 300.72°)
OKLaboklab(37.31% 0.0143 -0.1563)
OKLCHoklch(37.31% 0.157 275.2)
XYZxyz(7.2524, 4.6576, 27.2994)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F91 #91902E
analogous
#2E6091 #2E2F91 #5F2E91
triadic
#2E2F91 #912E2F #2F912E
tetradic
#2E2F91 #912E60 #91902E #2E915F
square
#2E2F91 #912E60 #91902E #2E915F
split-complementary
#2E2F91 #915F2E #60912E
monochromatic
#111134 #1F2063 #2E2F91 #3D3EBF #6A6BD0

Accessibility & contrast

On white

10.87
#2E2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F91
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F91#FFFFFF#000000##FFFFFF
##2E2F911.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2f91;
/* rgb */ color: rgb(46, 47, 145);
/* oklch */ color: oklch(37.3% 0.157 275.2);
Tailwind
colors: {
  custom: {
    50: '#7468b2',
    500: '#2e2f91',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f91;
$custom-light: #7468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f91",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 239.394,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37309,
    "c": 0.15697,
    "h": 275.2
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#2E2F91
secondary
#B7B664
accent
#DA4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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