#2D4CBD#2D4CBD

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

Color values

HEX#2D4CBD
RGBrgb(45, 76, 189)
HSLhsl(227, 62%, 46%)
HSVhsv(227, 76%, 74%)
CMYKcmyk(76.2%, 59.8%, 0%, 25.9%)
CIE-LABlab(36.74, 29.27, -62.61)
CIE-LCHlch(36.74, 69.12, 295.06°)
OKLaboklab(46.58% -0.0091 -0.1809)
OKLCHoklch(46.58% 0.181 267.1)
XYZxyz(12.8487, 9.3995, 49.2714)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CBD #BD9E2D
analogous
#2D94BD #2D4CBD #562DBD
triadic
#2D4CBD #BD2D4C #4CBD2D
tetradic
#2D4CBD #BD2D94 #BD9E2D #2DBD56
square
#2D4CBD #BD2D94 #BD9E2D #2DBD56
split-complementary
#2D4CBD #BD562D #94BD2D
monochromatic
#15245A #21388C #2D4CBD #526ED6 #8397E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4CBD#FFFFFF#000000##FFFFFF
##2D4CBD1.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)
#005DC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4cbd;
/* rgb */ color: rgb(45, 76, 189);
/* oklch */ color: oklch(46.6% 0.181 267.1);
Tailwind
colors: {
  custom: {
    50: '#7c7dd2',
    500: '#2d4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cbd;
$custom-light: #7c7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cbd",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 227.083,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46577,
    "c": 0.1811,
    "h": 267.1
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#2D4CBD
secondary
#CBB97B
accent
#C243E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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