#2E4095#2E4095

#2E4095 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.141 H 270.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4095
RGBrgb(46, 64, 149)
HSLhsl(230, 53%, 38%)
HSVhsv(230, 69%, 58%)
CMYKcmyk(69.1%, 57%, 0%, 41.6%)
CIE-LABlab(30.44, 22.39, -48.94)
CIE-LCHlch(30.44, 53.82, 294.58°)
OKLaboklab(40.89% 0 -0.1408)
OKLCHoklch(40.89% 0.141 270)
XYZxyz(8.3831, 6.4168, 29.2247)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4095 #95832E
analogous
#2E7395 #2E4095 #4F2E95
triadic
#2E4095 #952E40 #40952E
tetradic
#2E4095 #952E73 #95832E #2E954F
square
#2E4095 #952E73 #95832E #2E954F
split-complementary
#2E4095 #954F2E #73952E
monochromatic
#111837 #202C66 #2E4095 #3D54C3 #6C7ED2

Accessibility & contrast

On white

9.20
#2E4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4095
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4095#FFFFFF#000000##FFFFFF
##2E40951.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4095;
/* rgb */ color: rgb(46, 64, 149);
/* oklch */ color: oklch(40.9% 0.141 270.0);
Tailwind
colors: {
  custom: {
    50: '#7474b5',
    500: '#2e4095',
    950: '#000000',
  },
}
SCSS
$custom: #2e4095;
$custom-light: #7474b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4095",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 229.515,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40888,
    "c": 0.14085,
    "h": 270
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4095

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

Preview Lab → · Contrast checker → · Palette generator →

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