#2D4CB3#2D4CB3

#2D4CB3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.168 H 266.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4CB3
RGBrgb(45, 76, 179)
HSLhsl(226, 60%, 44%)
HSVhsv(226, 75%, 70%)
CMYKcmyk(74.9%, 57.5%, 0%, 29.8%)
CIE-LABlab(35.95, 25.53, -58.02)
CIE-LCHlch(35.95, 63.39, 293.75°)
OKLaboklab(45.73% -0.0094 -0.1674)
OKLCHoklch(45.73% 0.168 266.8)
XYZxyz(11.8005, 8.9802, 43.7505)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CB3 #B3942D
analogous
#2D8FB3 #2D4CB3 #512DB3
triadic
#2D4CB3 #B32D4C #4CB32D
tetradic
#2D4CB3 #B32D8F #B3942D #2DB351
square
#2D4CB3 #B32D8F #B3942D #2DB351
split-complementary
#2D4CB3 #B3512D #8FB32D
monochromatic
#142251 #213782 #2D4CB3 #4B6AD2 #7C93DE

Accessibility & contrast

On white

7.51
#2D4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D4CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CB3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CB3#FFFFFF#000000##FFFFFF
##2D4CB31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4cb3;
/* rgb */ color: rgb(45, 76, 179);
/* oklch */ color: oklch(45.7% 0.168 266.8);
Tailwind
colors: {
  custom: {
    50: '#797dcb',
    500: '#2d4cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cb3;
$custom-light: #797dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cb3",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 226.119,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45733,
    "c": 0.16765,
    "h": 266.8
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#2D4CB3
secondary
#C7B475
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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