#2D4CB0#2D4CB0

#2D4CB0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.164 H 266.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2D4CB0
RGBrgb(45, 76, 176)
HSLhsl(226, 59%, 43%)
HSVhsv(226, 74%, 69%)
CMYKcmyk(74.4%, 56.8%, 0%, 31%)
CIE-LABlab(35.71, 24.40, -56.62)
CIE-LCHlch(35.71, 61.66, 293.31°)
OKLaboklab(45.49% -0.0095 -0.1633)
OKLCHoklch(45.49% 0.164 266.7)
XYZxyz(11.5004, 8.8601, 42.1700)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CB0 #B0912D
analogous
#2D8DB0 #2D4CB0 #502DB0
triadic
#2D4CB0 #B02D4C #4CB02D
tetradic
#2D4CB0 #B02D8D #B0912D #2DB050
square
#2D4CB0 #B02D8D #B0912D #2DB050
split-complementary
#2D4CB0 #B0502D #8DB02D
monochromatic
#14224F #21377F #2D4CB0 #4A6AD1 #7A92DD

Accessibility & contrast

On white

7.58
#2D4CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D4CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CB0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CB0#FFFFFF#000000##FFFFFF
##2D4CB01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4cb0;
/* rgb */ color: rgb(45, 76, 176);
/* oklch */ color: oklch(45.5% 0.164 266.7);
Tailwind
colors: {
  custom: {
    50: '#797dc8',
    500: '#2d4cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cb0;
$custom-light: #797dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cb0",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 225.802,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.16356,
    "h": 266.7
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#2D4CB0
secondary
#C5B273
accent
#BD45E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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