#2D5EA9#2D5EA9

#2D5EA9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.132 H 258.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2D5EA9
RGBrgb(45, 94, 169)
HSLhsl(216, 58%, 42%)
HSVhsv(216, 73%, 66%)
CMYKcmyk(73.4%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.29, 9.89, -45.09)
CIE-LCHlch(40.29, 46.16, 282.37°)
OKLaboklab(48.82% -0.0256 -0.129)
OKLCHoklch(48.82% 0.132 258.8)
XYZxyz(12.2437, 11.4265, 39.0887)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EA9 #A9782D
analogous
#2D9CA9 #2D5EA9 #3A2DA9
triadic
#2D5EA9 #A92D5E #5EA92D
tetradic
#2D5EA9 #A92D9C #A9782D #2DA93A
square
#2D5EA9 #A92D9C #A9782D #2DA93A
split-complementary
#2D5EA9 #A93A2D #9CA92D
monochromatic
#132848 #204379 #2D5EA9 #467BCE #769EDA

Accessibility & contrast

On white

6.39
#2D5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2D5EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EA9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EA9#FFFFFF#000000##FFFFFF
##2D5EA91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AC
Deuteranopia (green-blind)
#215AA7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5ea9;
/* rgb */ color: rgb(45, 94, 169);
/* oklch */ color: oklch(48.8% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#768bc3',
    500: '#2d5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ea9;
$custom-light: #768bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ea9",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 216.29,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.13155,
    "h": 258.8
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#2D5EA9
secondary
#C2A26F
accent
#A447E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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