#2D5EA3#2D5EA3

#2D5EA3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.4% C 0.123 H 257.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2D5EA3
RGBrgb(45, 94, 163)
HSLhsl(215, 57%, 41%)
HSVhsv(215, 72%, 64%)
CMYKcmyk(72.4%, 42.3%, 0%, 36.1%)
CIE-LABlab(39.93, 7.62, -42.12)
CIE-LCHlch(39.93, 42.80, 280.25°)
OKLaboklab(48.42% -0.0268 -0.1203)
OKLCHoklch(48.42% 0.123 257.4)
XYZxyz(11.6933, 11.2064, 36.1900)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EA3 #A3722D
analogous
#2D99A3 #2D5EA3 #372DA3
triadic
#2D5EA3 #A32D5E #5EA32D
tetradic
#2D5EA3 #A32D99 #A3722D #2DA337
square
#2D5EA3 #A32D99 #A3722D #2DA337
split-complementary
#2D5EA3 #A3372D #99A32D
monochromatic
#132743 #204273 #2D5EA3 #427BCB #729DD8

Accessibility & contrast

On white

6.48
#2D5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2D5EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EA3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EA3#FFFFFF#000000##FFFFFF
##2D5EA31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A6
Deuteranopia (green-blind)
#2959A2
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ea3;
/* rgb */ color: rgb(45, 94, 163);
/* oklch */ color: oklch(48.4% 0.123 257.4);
Tailwind
colors: {
  custom: {
    50: '#758bbf',
    500: '#2d5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ea3;
$custom-light: #758bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ea3",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 215.085,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48422,
    "c": 0.12325,
    "h": 257.4
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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