#2D5BB9#2D5BB9

#2D5BB9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.157 H 262.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2D5BB9
RGBrgb(45, 91, 185)
HSLhsl(220, 61%, 45%)
HSVhsv(220, 76%, 73%)
CMYKcmyk(75.7%, 50.8%, 0%, 27.5%)
CIE-LABlab(40.48, 17.93, -54.20)
CIE-LCHlch(40.48, 57.09, 288.31°)
OKLaboklab(49.3% -0.0205 -0.1559)
OKLCHoklch(49.3% 0.157 262.5)
XYZxyz(13.5771, 11.5413, 47.4017)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BB9 #B98B2D
analogous
#2DA1B9 #2D5BB9 #452DB9
triadic
#2D5BB9 #B92D5B #5BB92D
tetradic
#2D5BB9 #B92DA1 #B98B2D #2DB945
square
#2D5BB9 #B92DA1 #B98B2D #2DB945
split-complementary
#2D5BB9 #B9452D #A1B92D
monochromatic
#152B57 #214388 #2D5BB9 #4F7BD4 #80A0E0

Accessibility & contrast

On white

6.35
#2D5BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2D5BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BB9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BB9#FFFFFF#000000##FFFFFF
##2D5BB91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5bb9;
/* rgb */ color: rgb(45, 91, 185);
/* oklch */ color: oklch(49.3% 0.157 262.5);
Tailwind
colors: {
  custom: {
    50: '#7a88cf',
    500: '#2d5bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bb9;
$custom-light: #7a88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bb9",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 220.286,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.493,
    "c": 0.15725,
    "h": 262.5
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#2D5BB9
secondary
#C9AF79
accent
#AF44E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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