#2E4195#2E4195

#2E4195 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.140 H 269.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2E4195
RGBrgb(46, 65, 149)
HSLhsl(229, 53%, 38%)
HSVhsv(229, 69%, 58%)
CMYKcmyk(69.1%, 56.4%, 0%, 41.6%)
CIE-LABlab(30.71, 21.72, -48.50)
CIE-LCHlch(30.71, 53.14, 294.12°)
OKLaboklab(41.09% -0.0009 -0.1395)
OKLCHoklch(41.09% 0.14 269.6)
XYZxyz(8.4400, 6.5306, 29.2437)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4195 #95822E
analogous
#2E7495 #2E4195 #4E2E95
triadic
#2E4195 #952E41 #41952E
tetradic
#2E4195 #952E74 #95822E #2E954E
square
#2E4195 #952E74 #95822E #2E954E
split-complementary
#2E4195 #954E2E #74952E
monochromatic
#111837 #202D66 #2E4195 #3D56C3 #6C7FD2

Accessibility & contrast

On white

9.11
#2E4195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E4195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4195
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4195#FFFFFF#000000##FFFFFF
##2E41951.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4195;
/* rgb */ color: rgb(46, 65, 149);
/* oklch */ color: oklch(41.1% 0.140 269.6);
Tailwind
colors: {
  custom: {
    50: '#7475b5',
    500: '#2e4195',
    950: '#000000',
  },
}
SCSS
$custom: #2e4195;
$custom-light: #7475b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4195",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 149
  },
  "hsl": {
    "h": 228.932,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.13953,
    "h": 269.6
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#2E4195
secondary
#B9A966
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4195

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

Preview Lab → · Contrast checker → · Palette generator →

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