#2D4EA6#2D4EA6

#2D4EA6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.147 H 265.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2D4EA6
RGBrgb(45, 78, 166)
HSLhsl(224, 57%, 41%)
HSVhsv(224, 73%, 65%)
CMYKcmyk(72.9%, 53%, 0%, 34.9%)
CIE-LABlab(35.52, 19.28, -50.99)
CIE-LCHlch(35.52, 54.52, 290.71°)
OKLaboklab(45.1% -0.0119 -0.1467)
OKLCHoklch(45.1% 0.147 265.4)
XYZxyz(10.6871, 8.7587, 37.1964)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EA6 #A6852D
analogous
#2D8BA6 #2D4EA6 #492DA6
triadic
#2D4EA6 #A62D4E #4EA62D
tetradic
#2D4EA6 #A62D8B #A6852D #2DA649
square
#2D4EA6 #A62D8B #A6852D #2DA649
split-complementary
#2D4EA6 #A6492D #8BA62D
monochromatic
#132146 #203776 #2D4EA6 #4469CC #7490D9

Accessibility & contrast

On white

7.63
#2D4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2D4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EA6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EA6#FFFFFF#000000##FFFFFF
##2D4EA61.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4ea6;
/* rgb */ color: rgb(45, 78, 166);
/* oklch */ color: oklch(45.1% 0.147 265.4);
Tailwind
colors: {
  custom: {
    50: '#767fc1',
    500: '#2d4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ea6;
$custom-light: #767fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ea6",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 223.636,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.14717,
    "h": 265.4
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#2D4EA6
secondary
#C1AA6E
accent
#B747E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2D4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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