#2E2F90#2E2F90

#2E2F90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.156 H 275.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2E2F90
RGBrgb(46, 47, 144)
HSLhsl(239, 52%, 37%)
HSVhsv(239, 68%, 56%)
CMYKcmyk(68.1%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.64, 31.82, -53.69)
CIE-LCHlch(25.64, 62.41, 300.66°)
OKLaboklab(37.21% 0.0144 -0.1549)
OKLCHoklch(37.21% 0.156 275.3)
XYZxyz(7.1756, 4.6269, 26.8951)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F90 #908F2E
analogous
#2E6090 #2E2F90 #5E2E90
triadic
#2E2F90 #902E2F #2F902E
tetradic
#2E2F90 #902E60 #908F2E #2E905E
square
#2E2F90 #902E60 #908F2E #2E905E
split-complementary
#2E2F90 #905E2E #60902E
monochromatic
#101133 #1F2062 #2E2F90 #3D3EBE #696ACF

Accessibility & contrast

On white

10.91
#2E2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F90
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F90#FFFFFF#000000##FFFFFF
##2E2F901.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2f90;
/* rgb */ color: rgb(46, 47, 144);
/* oklch */ color: oklch(37.2% 0.156 275.3);
Tailwind
colors: {
  custom: {
    50: '#7468b1',
    500: '#2e2f90',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f90;
$custom-light: #7468b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f90",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 239.388,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37214,
    "c": 0.15561,
    "h": 275.3
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#2E2F90
secondary
#B6B564
accent
#DA4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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