#2E3F92#2E3F92

#2E3F92 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.138 H 270.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2E3F92
RGBrgb(46, 63, 146)
HSLhsl(230, 52%, 38%)
HSVhsv(230, 68%, 57%)
CMYKcmyk(68.5%, 56.8%, 0%, 42.7%)
CIE-LABlab(29.94, 21.94, -47.92)
CIE-LCHlch(29.94, 52.71, 294.60°)
OKLaboklab(40.44% 0.0008 -0.1379)
OKLCHoklch(40.44% 0.138 270.3)
XYZxyz(8.0908, 6.2104, 27.9609)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F92 #92812E
analogous
#2E7192 #2E3F92 #4F2E92
triadic
#2E3F92 #922E3F #3F922E
tetradic
#2E3F92 #922E71 #92812E #2E924F
square
#2E3F92 #922E71 #92812E #2E924F
split-complementary
#2E3F92 #924F2E #71922E
monochromatic
#111735 #1F2B63 #2E3F92 #3D53C1 #6A7CD0

Accessibility & contrast

On white

9.37
#2E3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E3F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3F92
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F92#FFFFFF#000000##FFFFFF
##2E3F921.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e3f92;
/* rgb */ color: rgb(46, 63, 146);
/* oklch */ color: oklch(40.4% 0.138 270.3);
Tailwind
colors: {
  custom: {
    50: '#7373b3',
    500: '#2e3f92',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f92;
$custom-light: #7373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f92",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 229.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.13786,
    "h": 270.3
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#2E3F92
secondary
#B7A965
accent
#C34CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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