#2E4C94#2E4C94

#2E4C94 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.124 H 264.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4C94
RGBrgb(46, 76, 148)
HSLhsl(222, 53%, 38%)
HSVhsv(222, 69%, 58%)
CMYKcmyk(68.9%, 48.6%, 0%, 42%)
CIE-LABlab(33.75, 13.93, -42.99)
CIE-LCHlch(33.75, 45.19, 287.96°)
OKLaboklab(43.37% -0.0114 -0.1232)
OKLCHoklch(43.37% 0.124 264.7)
XYZxyz(9.0546, 7.8870, 29.0564)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C94 #94762E
analogous
#2E7F94 #2E4C94 #432E94
triadic
#2E4C94 #942E4C #4C942E
tetradic
#2E4C94 #942E7F #94762E #2E9443
square
#2E4C94 #942E7F #94762E #2E9443
split-complementary
#2E4C94 #94432E #7F942E
monochromatic
#111C37 #1F3465 #2E4C94 #3D64C3 #6B89D1

Accessibility & contrast

On white

8.15
#2E4C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E4C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C94
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C94#FFFFFF#000000##FFFFFF
##2E4C941.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#0F4B93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4c94;
/* rgb */ color: rgb(46, 76, 148);
/* oklch */ color: oklch(43.4% 0.124 264.7);
Tailwind
colors: {
  custom: {
    50: '#737db4',
    500: '#2e4c94',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c94;
$custom-light: #737db4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c94",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 148
  },
  "hsl": {
    "h": 222.353,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.12368,
    "h": 264.7
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

primary
#2E4C94
secondary
#B8A066
accent
#B24CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4C94

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

Preview Lab → · Contrast checker → · Palette generator →

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