#2D4CAE#2D4CAE

#2D4CAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.161 H 266.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2D4CAE
RGBrgb(45, 76, 174)
HSLhsl(226, 59%, 43%)
HSVhsv(226, 74%, 68%)
CMYKcmyk(74.1%, 56.3%, 0%, 31.8%)
CIE-LABlab(35.56, 23.64, -55.69)
CIE-LCHlch(35.56, 60.50, 293.00°)
OKLaboklab(45.32% -0.0096 -0.1605)
OKLCHoklch(45.32% 0.161 266.6)
XYZxyz(11.3039, 8.7816, 41.1355)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CAE #AE8F2D
analogous
#2D8DAE #2D4CAE #4E2DAE
triadic
#2D4CAE #AE2D4C #4CAE2D
tetradic
#2D4CAE #AE2D8D #AE8F2D #2DAE4E
square
#2D4CAE #AE2D8D #AE8F2D #2DAE4E
split-complementary
#2D4CAE #AE4E2D #8DAE2D
monochromatic
#14224D #20377D #2D4CAE #4869D0 #7991DC

Accessibility & contrast

On white

7.62
#2D4CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D4CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CAE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CAE#FFFFFF#000000##FFFFFF
##2D4CAE1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4cae;
/* rgb */ color: rgb(45, 76, 174);
/* oklch */ color: oklch(45.3% 0.161 266.6);
Tailwind
colors: {
  custom: {
    50: '#787dc7',
    500: '#2d4cae',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cae;
$custom-light: #787dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cae",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 225.581,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.16081,
    "h": 266.6
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#2D4CAE
secondary
#C4B172
accent
#BD46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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