#2D4FB9#2D4FB9

#2D4FB9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.172 H 266.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2D4FB9
RGBrgb(45, 79, 185)
HSLhsl(225, 61%, 45%)
HSVhsv(225, 76%, 73%)
CMYKcmyk(75.7%, 57.3%, 0%, 27.5%)
CIE-LABlab(37.21, 25.81, -59.50)
CIE-LCHlch(37.21, 64.86, 293.45°)
OKLaboklab(46.83% -0.0113 -0.1717)
OKLCHoklch(46.83% 0.172 266.2)
XYZxyz(12.6321, 9.6512, 47.0867)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FB9 #B9972D
analogous
#2D95B9 #2D4FB9 #512DB9
triadic
#2D4FB9 #B92D4F #4FB92D
tetradic
#2D4FB9 #B92D95 #B9972D #2DB951
square
#2D4FB9 #B92D95 #B9972D #2DB951
split-complementary
#2D4FB9 #B9512D #95B92D
monochromatic
#152557 #213A88 #2D4FB9 #4F6FD4 #8098E0

Accessibility & contrast

On white

7.17
#2D4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2D4FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FB9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FB9#FFFFFF#000000##FFFFFF
##2D4FB91.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d4fb9;
/* rgb */ color: rgb(45, 79, 185);
/* oklch */ color: oklch(46.8% 0.172 266.2);
Tailwind
colors: {
  custom: {
    50: '#7b7fcf',
    500: '#2d4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fb9;
$custom-light: #7b7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fb9",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 225.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46827,
    "c": 0.17207,
    "h": 266.2
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#2D4FB9
secondary
#C9B679
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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