#2E4295#2E4295

#2E4295 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.138 H 269.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2E4295
RGBrgb(46, 66, 149)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(69.1%, 55.7%, 0%, 41.6%)
CIE-LABlab(30.99, 21.04, -48.05)
CIE-LCHlch(30.99, 52.46, 293.65°)
OKLaboklab(41.3% -0.0018 -0.1382)
OKLCHoklch(41.3% 0.138 269.3)
XYZxyz(8.4979, 6.6464, 29.2630)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4295 #95812E
analogous
#2E7595 #2E4295 #4E2E95
triadic
#2E4295 #952E42 #42952E
tetradic
#2E4295 #952E75 #95812E #2E954E
square
#2E4295 #952E75 #95812E #2E954E
split-complementary
#2E4295 #954E2E #75952E
monochromatic
#111937 #202D66 #2E4295 #3D57C3 #6C80D2

Accessibility & contrast

On white

9.02
#2E4295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E4295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4295
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4295#FFFFFF#000000##FFFFFF
##2E42951.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4295;
/* rgb */ color: rgb(46, 66, 149);
/* oklch */ color: oklch(41.3% 0.138 269.3);
Tailwind
colors: {
  custom: {
    50: '#7476b5',
    500: '#2e4295',
    950: '#000000',
  },
}
SCSS
$custom: #2e4295;
$custom-light: #7476b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4295",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 228.35,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.13822,
    "h": 269.3
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4295

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

Preview Lab → · Contrast checker → · Palette generator →

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