#2D4EA3#2D4EA3

#2D4EA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.143 H 265.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2D4EA3
RGBrgb(45, 78, 163)
HSLhsl(223, 57%, 41%)
HSVhsv(223, 72%, 64%)
CMYKcmyk(72.4%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.30, 18.14, -49.54)
CIE-LCHlch(35.30, 52.76, 290.11°)
OKLaboklab(44.87% -0.0122 -0.1424)
OKLCHoklch(44.87% 0.143 265.1)
XYZxyz(10.4151, 8.6499, 35.7639)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EA3 #A3822D
analogous
#2D89A3 #2D4EA3 #472DA3
triadic
#2D4EA3 #A32D4E #4EA32D
tetradic
#2D4EA3 #A32D89 #A3822D #2DA347
square
#2D4EA3 #A32D89 #A3822D #2DA347
split-complementary
#2D4EA3 #A3472D #89A32D
monochromatic
#132043 #203773 #2D4EA3 #4268CB #728FD8

Accessibility & contrast

On white

7.69
#2D4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4EA3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EA3#FFFFFF#000000##FFFFFF
##2D4EA31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ea3;
/* rgb */ color: rgb(45, 78, 163);
/* oklch */ color: oklch(44.9% 0.143 265.1);
Tailwind
colors: {
  custom: {
    50: '#767fbf',
    500: '#2d4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ea3;
$custom-light: #767fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ea3",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 223.22,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.14294,
    "h": 265.1
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#2D4EA3
secondary
#C0A86C
accent
#B548E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2D4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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