#2E5DA9#2E5DA9

#2E5DA9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.132 H 259.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2E5DA9
RGBrgb(46, 93, 169)
HSLhsl(217, 57%, 42%)
HSVhsv(217, 73%, 66%)
CMYKcmyk(72.8%, 45%, 0%, 33.7%)
CIE-LABlab(40.04, 10.68, -45.50)
CIE-LCHlch(40.04, 46.73, 283.21°)
OKLaboklab(48.64% -0.0239 -0.1302)
OKLCHoklch(48.64% 0.132 259.6)
XYZxyz(12.1999, 11.2728, 39.0613)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DA9 #A97A2E
analogous
#2E9BA9 #2E5DA9 #3D2EA9
triadic
#2E5DA9 #A92E5D #5DA92E
tetradic
#2E5DA9 #A92E9B #A97A2E #2EA93D
square
#2E5DA9 #A92E9B #A97A2E #2EA93D
split-complementary
#2E5DA9 #A93D2E #9BA92E
monochromatic
#142849 #214379 #2E5DA9 #477ACD #779DDA

Accessibility & contrast

On white

6.45
#2E5DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2E5DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DA9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DA9#FFFFFF#000000##FFFFFF
##2E5DA91.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AC
Deuteranopia (green-blind)
#1F59A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5da9;
/* rgb */ color: rgb(46, 93, 169);
/* oklch */ color: oklch(48.6% 0.132 259.6);
Tailwind
colors: {
  custom: {
    50: '#778ac3',
    500: '#2e5da9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5da9;
$custom-light: #778ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5da9",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 217.073,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.13241,
    "h": 259.6
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#2E5DA9
secondary
#C2A371
accent
#A647E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E5DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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