#2E3F90#2E3F90

#2E3F90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.135 H 270.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2E3F90
RGBrgb(46, 63, 144)
HSLhsl(230, 52%, 37%)
HSVhsv(230, 68%, 56%)
CMYKcmyk(68.1%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.78, 21.20, -46.94)
CIE-LCHlch(29.78, 51.51, 294.30°)
OKLaboklab(40.28% 0.0007 -0.135)
OKLCHoklch(40.28% 0.135 270.3)
XYZxyz(7.9366, 6.1487, 27.1487)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F90 #907F2E
analogous
#2E7090 #2E3F90 #4E2E90
triadic
#2E3F90 #902E3F #3F902E
tetradic
#2E3F90 #902E70 #907F2E #2E904E
square
#2E3F90 #902E70 #907F2E #2E904E
split-complementary
#2E3F90 #904E2E #70902E
monochromatic
#101633 #1F2B62 #2E3F90 #3D53BE #697BCF

Accessibility & contrast

On white

9.42
#2E3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3F90
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F90#FFFFFF#000000##FFFFFF
##2E3F901.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e3f90;
/* rgb */ color: rgb(46, 63, 144);
/* oklch */ color: oklch(40.3% 0.135 270.3);
Tailwind
colors: {
  custom: {
    50: '#7373b1',
    500: '#2e3f90',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f90;
$custom-light: #7373b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f90",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 229.592,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.13498,
    "h": 270.3
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#2E3F90
secondary
#B6A864
accent
#C24DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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