#2E4EA2#2E4EA2

#2E4EA2 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.141 H 265.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2E4EA2
RGBrgb(46, 78, 162)
HSLhsl(223, 56%, 41%)
HSVhsv(223, 72%, 64%)
CMYKcmyk(71.6%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.28, 17.90, -48.98)
CIE-LCHlch(35.28, 52.15, 290.08°)
OKLaboklab(44.84% -0.0114 -0.1407)
OKLCHoklch(44.84% 0.141 265.4)
XYZxyz(10.3704, 8.6372, 35.2960)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EA2 #A2822E
analogous
#2E88A2 #2E4EA2 #482EA2
triadic
#2E4EA2 #A22E4E #4EA22E
tetradic
#2E4EA2 #A22E88 #A2822E #2EA248
square
#2E4EA2 #A22E88 #A2822E #2EA248
split-complementary
#2E4EA2 #A2482E #88A22E
monochromatic
#132043 #203772 #2E4EA2 #4368CA #738FD7

Accessibility & contrast

On white

7.70
#2E4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E4EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EA2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EA2#FFFFFF#000000##FFFFFF
##2E4EA21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4ea2;
/* rgb */ color: rgb(46, 78, 162);
/* oklch */ color: oklch(44.8% 0.141 265.4);
Tailwind
colors: {
  custom: {
    50: '#767fbe',
    500: '#2e4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ea2;
$custom-light: #767fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ea2",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 223.448,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.14121,
    "h": 265.4
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#2E4EA2
secondary
#BFA86D
accent
#B649DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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