#2E3E90#2E3E90

#2E3E90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.136 H 270.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2E3E90
RGBrgb(46, 62, 144)
HSLhsl(230, 52%, 37%)
HSVhsv(230, 68%, 56%)
CMYKcmyk(68.1%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.51, 21.87, -47.39)
CIE-LCHlch(29.51, 52.19, 294.78°)
OKLaboklab(40.07% 0.0016 -0.1363)
OKLCHoklch(40.07% 0.136 270.7)
XYZxyz(7.8817, 6.0390, 27.1304)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E90 #90802E
analogous
#2E6F90 #2E3E90 #4F2E90
triadic
#2E3E90 #902E3E #3E902E
tetradic
#2E3E90 #902E6F #90802E #2E904F
square
#2E3E90 #902E6F #90802E #2E904F
split-complementary
#2E3E90 #904F2E #6F902E
monochromatic
#101633 #1F2A62 #2E3E90 #3D52BE #697ACF

Accessibility & contrast

On white

9.51
#2E3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E3E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E90
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E90#FFFFFF#000000##FFFFFF
##2E3E901.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e3e90;
/* rgb */ color: rgb(46, 62, 144);
/* oklch */ color: oklch(40.1% 0.136 270.7);
Tailwind
colors: {
  custom: {
    50: '#7373b1',
    500: '#2e3e90',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e90;
$custom-light: #7373b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e90",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 230.204,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.13631,
    "h": 270.7
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#2E3E90
secondary
#B6A964
accent
#C44DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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