#2D4CB4#2D4CB4

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

Color values

HEX#2D4CB4
RGBrgb(45, 76, 180)
HSLhsl(226, 60%, 44%)
HSVhsv(226, 75%, 71%)
CMYKcmyk(75%, 57.8%, 0%, 29.4%)
CIE-LABlab(36.02, 25.91, -58.48)
CIE-LCHlch(36.02, 63.97, 293.89°)
OKLaboklab(45.82% -0.0093 -0.1687)
OKLCHoklch(45.82% 0.169 266.8)
XYZxyz(11.9020, 9.0208, 44.2851)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CB4 #B4952D
analogous
#2D90B4 #2D4CB4 #522DB4
triadic
#2D4CB4 #B42D4C #4CB42D
tetradic
#2D4CB4 #B42D90 #B4952D #2DB452
square
#2D4CB4 #B42D90 #B4952D #2DB452
split-complementary
#2D4CB4 #B4522D #90B42D
monochromatic
#152352 #213783 #2D4CB4 #4C6BD2 #7D93DE

Accessibility & contrast

On white

7.49
#2D4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4CB4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CB4#FFFFFF#000000##FFFFFF
##2D4CB41.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4cb4;
/* rgb */ color: rgb(45, 76, 180);
/* oklch */ color: oklch(45.8% 0.169 266.8);
Tailwind
colors: {
  custom: {
    50: '#7a7dcb',
    500: '#2d4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cb4;
$custom-light: #7a7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cb4",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 226.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.16901,
    "h": 266.8
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#2D4CB4
secondary
#C7B476
accent
#BF45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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