#2D4EAC#2D4EAC

#2D4EAC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.156 H 265.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4EAC
RGBrgb(45, 78, 172)
HSLhsl(224, 59%, 43%)
HSVhsv(224, 74%, 67%)
CMYKcmyk(73.8%, 54.7%, 0%, 32.5%)
CIE-LABlab(35.95, 21.56, -53.86)
CIE-LCHlch(35.95, 58.01, 291.82°)
OKLaboklab(45.57% -0.0113 -0.1551)
OKLCHoklch(45.57% 0.156 265.8)
XYZxyz(11.2504, 8.9840, 40.1629)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EAC #AC8B2D
analogous
#2D8EAC #2D4EAC #4B2DAC
triadic
#2D4EAC #AC2D4E #4EAC2D
tetradic
#2D4EAC #AC2D8E #AC8B2D #2DAC4B
square
#2D4EAC #AC2D8E #AC8B2D #2DAC4B
split-complementary
#2D4EAC #AC4B2D #8EAC2D
monochromatic
#14224B #20387B #2D4EAC #476BCF #7892DC

Accessibility & contrast

On white

7.51
#2D4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4EAC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EAC#FFFFFF#000000##FFFFFF
##2D4EAC1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4eac;
/* rgb */ color: rgb(45, 78, 172);
/* oklch */ color: oklch(45.6% 0.156 265.8);
Tailwind
colors: {
  custom: {
    50: '#787fc5',
    500: '#2d4eac',
    950: '#000000',
  },
}
SCSS
$custom: #2d4eac;
$custom-light: #787fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4eac",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 224.409,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.15553,
    "h": 265.8
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#2D4EAC
secondary
#C4AE71
accent
#B946E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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