#2D4BB9#2D4BB9

#2D4BB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.177 H 267.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4BB9
RGBrgb(45, 75, 185)
HSLhsl(227, 61%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(75.7%, 59.5%, 0%, 27.5%)
CIE-LABlab(36.16, 28.44, -61.21)
CIE-LCHlch(36.16, 67.50, 294.92°)
OKLaboklab(46.04% -0.0085 -0.1768)
OKLCHoklch(46.04% 0.177 267.3)
XYZxyz(12.3522, 9.0915, 46.9934)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BB9 #B99B2D
analogous
#2D91B9 #2D4BB9 #552DB9
triadic
#2D4BB9 #B92D4B #4BB92D
tetradic
#2D4BB9 #B92D91 #B99B2D #2DB955
square
#2D4BB9 #B92D91 #B99B2D #2DB955
split-complementary
#2D4BB9 #B9552D #91B92D
monochromatic
#152357 #213788 #2D4BB9 #4F6CD4 #8095E0

Accessibility & contrast

On white

7.45
#2D4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2D4BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4BB9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4BB9#FFFFFF#000000##FFFFFF
##2D4BB91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4bb9;
/* rgb */ color: rgb(45, 75, 185);
/* oklch */ color: oklch(46.0% 0.177 267.3);
Tailwind
colors: {
  custom: {
    50: '#7b7ccf',
    500: '#2d4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bb9;
$custom-light: #7b7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bb9",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 227.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46042,
    "c": 0.17698,
    "h": 267.3
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#2D4BB9
secondary
#C9B879
accent
#C244E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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