#2D4FB3#2D4FB3

#2D4FB3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.164 H 265.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2D4FB3
RGBrgb(45, 79, 179)
HSLhsl(225, 60%, 44%)
HSVhsv(225, 75%, 70%)
CMYKcmyk(74.9%, 55.9%, 0%, 29.8%)
CIE-LABlab(36.75, 23.55, -56.72)
CIE-LCHlch(36.75, 61.41, 292.55°)
OKLaboklab(46.34% -0.0116 -0.1635)
OKLCHoklch(46.34% 0.164 265.9)
XYZxyz(12.0120, 9.4032, 43.8210)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FB3 #B3912D
analogous
#2D92B3 #2D4FB3 #4E2DB3
triadic
#2D4FB3 #B32D4F #4FB32D
tetradic
#2D4FB3 #B32D92 #B3912D #2DB34E
square
#2D4FB3 #B32D92 #B3912D #2DB34E
split-complementary
#2D4FB3 #B34E2D #92B32D
monochromatic
#142451 #213982 #2D4FB3 #4B6DD2 #7C95DE

Accessibility & contrast

On white

7.29
#2D4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D4FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FB3
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FB3#FFFFFF#000000##FFFFFF
##2D4FB31.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4fb3;
/* rgb */ color: rgb(45, 79, 179);
/* oklch */ color: oklch(46.3% 0.164 265.9);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2d4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fb3;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fb3",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 224.776,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.16391,
    "h": 265.9
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#2D4FB3
secondary
#C7B275
accent
#BB45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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