#2D5CB8#2D5CB8

#2D5CB8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.155 H 262.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2D5CB8
RGBrgb(45, 92, 184)
HSLhsl(220, 61%, 45%)
HSVhsv(220, 76%, 72%)
CMYKcmyk(75.5%, 50%, 0%, 27.8%)
CIE-LABlab(40.69, 16.90, -53.28)
CIE-LCHlch(40.69, 55.89, 287.60°)
OKLaboklab(49.44% -0.0214 -0.1532)
OKLCHoklch(49.44% 0.155 262)
XYZxyz(13.5580, 11.6714, 46.8764)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CB8 #B8892D
analogous
#2DA2B8 #2D5CB8 #432DB8
triadic
#2D5CB8 #B82D5C #5CB82D
tetradic
#2D5CB8 #B82DA2 #B8892D #2DB843
square
#2D5CB8 #B82DA2 #B8892D #2DB843
split-complementary
#2D5CB8 #B8432D #A2B82D
monochromatic
#152B56 #214387 #2D5CB8 #4E7CD4 #80A0E0

Accessibility & contrast

On white

6.30
#2D5CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2D5CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CB8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CB8#FFFFFF#000000##FFFFFF
##2D5CB81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5cb8;
/* rgb */ color: rgb(45, 92, 184);
/* oklch */ color: oklch(49.4% 0.155 262.0);
Tailwind
colors: {
  custom: {
    50: '#7a89ce',
    500: '#2d5cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cb8;
$custom-light: #7a89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cb8",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 219.712,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.15465,
    "h": 262
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#2D5CB8
secondary
#C9AD78
accent
#AE44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2D5CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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