#2D5CB9#2D5CB9

#2D5CB9 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.156 H 262.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2D5CB9
RGBrgb(45, 92, 185)
HSLhsl(220, 61%, 45%)
HSVhsv(220, 76%, 73%)
CMYKcmyk(75.7%, 50.3%, 0%, 27.5%)
CIE-LABlab(40.76, 17.28, -53.75)
CIE-LCHlch(40.76, 56.46, 287.82°)
OKLaboklab(49.51% -0.0213 -0.1546)
OKLCHoklch(49.51% 0.156 262.2)
XYZxyz(13.6632, 11.7134, 47.4304)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CB9 #B98A2D
analogous
#2DA2B9 #2D5CB9 #442DB9
triadic
#2D5CB9 #B92D5C #5CB92D
tetradic
#2D5CB9 #B92DA2 #B98A2D #2DB944
square
#2D5CB9 #B92DA2 #B98A2D #2DB944
split-complementary
#2D5CB9 #B9442D #A2B92D
monochromatic
#152B57 #214488 #2D5CB9 #4F7CD4 #80A0E0

Accessibility & contrast

On white

6.28
#2D5CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2D5CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CB9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CB9#FFFFFF#000000##FFFFFF
##2D5CB91.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5cb9;
/* rgb */ color: rgb(45, 92, 185);
/* oklch */ color: oklch(49.5% 0.156 262.2);
Tailwind
colors: {
  custom: {
    50: '#7a89cf',
    500: '#2d5cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cb9;
$custom-light: #7a89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cb9",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 219.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.15602,
    "h": 262.2
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#2D5CB9
secondary
#C9AE79
accent
#AE44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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