#2E5AA9#2E5AA9

#2E5AA9 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.136 H 261.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2E5AA9
RGBrgb(46, 90, 169)
HSLhsl(219, 57%, 42%)
HSVhsv(219, 73%, 66%)
CMYKcmyk(72.8%, 46.7%, 0%, 33.7%)
CIE-LABlab(39.17, 12.64, -46.89)
CIE-LCHlch(39.17, 48.56, 285.08°)
OKLaboklab(47.97% -0.0212 -0.1344)
OKLCHoklch(47.97% 0.136 261)
XYZxyz(11.9417, 10.7565, 38.9753)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AA9 #A97D2E
analogous
#2E97A9 #2E5AA9 #402EA9
triadic
#2E5AA9 #A92E5A #5AA92E
tetradic
#2E5AA9 #A92E97 #A97D2E #2EA940
square
#2E5AA9 #A92E97 #A97D2E #2EA940
split-complementary
#2E5AA9 #A9402E #97A92E
monochromatic
#142749 #214079 #2E5AA9 #4777CD #779BDA

Accessibility & contrast

On white

6.66
#2E5AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E5AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AA9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AA9#FFFFFF#000000##FFFFFF
##2E5AA91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#1557A7
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5aa9;
/* rgb */ color: rgb(46, 90, 169);
/* oklch */ color: oklch(48.0% 0.136 261.0);
Tailwind
colors: {
  custom: {
    50: '#7788c3',
    500: '#2e5aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aa9;
$custom-light: #7788c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aa9",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 218.537,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.13605,
    "h": 261
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#2E5AA9
secondary
#C2A571
accent
#AA47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E5AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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