#2D5EA4#2D5EA4

#2D5EA4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.125 H 257.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2D5EA4
RGBrgb(45, 94, 164)
HSLhsl(215, 57%, 41%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(72.6%, 42.7%, 0%, 35.7%)
CIE-LABlab(39.99, 8.00, -42.61)
CIE-LCHlch(39.99, 43.36, 280.63°)
OKLaboklab(48.49% -0.0266 -0.1218)
OKLCHoklch(48.49% 0.125 257.7)
XYZxyz(11.7833, 11.2424, 36.6637)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EA4 #A4732D
analogous
#2D99A4 #2D5EA4 #372DA4
triadic
#2D5EA4 #A42D5E #5EA42D
tetradic
#2D5EA4 #A42D99 #A4732D #2DA437
square
#2D5EA4 #A42D99 #A4732D #2DA437
split-complementary
#2D5EA4 #A4372D #99A42D
monochromatic
#132744 #204274 #2D5EA4 #437BCB #739DD9

Accessibility & contrast

On white

6.46
#2D5EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D5EA4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EA4#FFFFFF#000000##FFFFFF
##2D5EA41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#2859A3
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ea4;
/* rgb */ color: rgb(45, 94, 164);
/* oklch */ color: oklch(48.5% 0.125 257.7);
Tailwind
colors: {
  custom: {
    50: '#758bbf',
    500: '#2d5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ea4;
$custom-light: #758bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ea4",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 215.294,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.12463,
    "h": 257.7
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#2D5EA4
secondary
#C09E6D
accent
#A148E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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