#2D4EAE#2D4EAE

#2D4EAE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.158 H 265.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2D4EAE
RGBrgb(45, 78, 174)
HSLhsl(225, 59%, 43%)
HSVhsv(225, 74%, 68%)
CMYKcmyk(74.1%, 55.2%, 0%, 31.8%)
CIE-LABlab(36.10, 22.32, -54.81)
CIE-LCHlch(36.10, 59.18, 292.16°)
OKLaboklab(45.73% -0.0112 -0.1579)
OKLCHoklch(45.73% 0.158 265.9)
XYZxyz(11.4439, 9.0614, 41.1821)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EAE #AE8D2D
analogous
#2D8EAE #2D4EAE #4C2DAE
triadic
#2D4EAE #AE2D4E #4EAE2D
tetradic
#2D4EAE #AE2D8E #AE8D2D #2DAE4C
square
#2D4EAE #AE2D8E #AE8D2D #2DAE4C
split-complementary
#2D4EAE #AE4C2D #8EAE2D
monochromatic
#14224D #20387D #2D4EAE #486BD0 #7992DC

Accessibility & contrast

On white

7.47
#2D4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D4EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EAE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EAE#FFFFFF#000000##FFFFFF
##2D4EAE1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4eae;
/* rgb */ color: rgb(45, 78, 174);
/* oklch */ color: oklch(45.7% 0.158 265.9);
Tailwind
colors: {
  custom: {
    50: '#787fc7',
    500: '#2d4eae',
    950: '#000000',
  },
}
SCSS
$custom: #2d4eae;
$custom-light: #787fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4eae",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 224.651,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.1583,
    "h": 265.9
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#2D4EAE
secondary
#C4AF72
accent
#BA46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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