#2E4293#2E4293

#2E4293 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.135 H 269.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2E4293
RGBrgb(46, 66, 147)
HSLhsl(228, 52%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(68.7%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.84, 20.29, -47.07)
CIE-LCHlch(30.84, 51.26, 293.32°)
OKLaboklab(41.14% -0.0019 -0.1353)
OKLCHoklch(41.14% 0.135 269.2)
XYZxyz(8.3396, 6.5831, 28.4293)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4293 #937F2E
analogous
#2E7493 #2E4293 #4C2E93
triadic
#2E4293 #932E42 #42932E
tetradic
#2E4293 #932E74 #937F2E #2E934C
square
#2E4293 #932E74 #937F2E #2E934C
split-complementary
#2E4293 #934C2E #74932E
monochromatic
#111836 #1F2D64 #2E4293 #3D57C2 #6B7FD1

Accessibility & contrast

On white

9.06
#2E4293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E4293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4293
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4293#FFFFFF#000000##FFFFFF
##2E42931.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4293;
/* rgb */ color: rgb(46, 66, 147);
/* oklch */ color: oklch(41.1% 0.135 269.2);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2e4293',
    950: '#000000',
  },
}
SCSS
$custom: #2e4293;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4293",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 228.119,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.13534,
    "h": 269.2
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#2E4293
secondary
#B8A765
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4293

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

Preview Lab → · Contrast checker → · Palette generator →

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