#2D4AB1#2D4AB1

#2D4AB1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.167 H 267.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2D4AB1
RGBrgb(45, 74, 177)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 75%, 69%)
CMYKcmyk(74.6%, 58.2%, 0%, 30.6%)
CIE-LABlab(35.26, 26.10, -57.96)
CIE-LCHlch(35.26, 63.56, 294.24°)
OKLaboklab(45.17% -0.008 -0.1672)
OKLCHoklch(45.17% 0.167 267.3)
XYZxyz(11.4640, 8.6285, 42.6477)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4AB1 #B1942D
analogous
#2D8CB1 #2D4AB1 #522DB1
triadic
#2D4AB1 #B12D4A #4AB12D
tetradic
#2D4AB1 #B12D8C #B1942D #2DB152
square
#2D4AB1 #B12D8C #B1942D #2DB152
split-complementary
#2D4AB1 #B1522D #8CB12D
monochromatic
#14214F #213680 #2D4AB1 #4A68D1 #7B91DD

Accessibility & contrast

On white

7.70
#2D4AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D4AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4AB1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4AB1#FFFFFF#000000##FFFFFF
##2D4AB11.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ab1;
/* rgb */ color: rgb(45, 74, 177);
/* oklch */ color: oklch(45.2% 0.167 267.3);
Tailwind
colors: {
  custom: {
    50: '#797cc9',
    500: '#2d4ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ab1;
$custom-light: #797cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ab1",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 226.818,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.16741,
    "h": 267.3
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#2D4AB1
secondary
#C6B474
accent
#C045E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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