#2D4EA0#2D4EA0

#2D4EA0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.139 H 264.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2D4EA0
RGBrgb(45, 78, 160)
HSLhsl(223, 56%, 40%)
HSVhsv(223, 72%, 63%)
CMYKcmyk(71.9%, 51.2%, 0%, 37.3%)
CIE-LABlab(35.09, 17.00, -48.08)
CIE-LCHlch(35.09, 51.00, 289.47°)
OKLaboklab(44.64% -0.0125 -0.1381)
OKLCHoklch(44.64% 0.139 264.8)
XYZxyz(10.1495, 8.5437, 34.3651)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EA0 #A07F2D
analogous
#2D87A0 #2D4EA0 #462DA0
triadic
#2D4EA0 #A02D4E #4EA02D
tetradic
#2D4EA0 #A02D87 #A07F2D #2DA046
square
#2D4EA0 #A02D87 #A07F2D #2DA046
split-complementary
#2D4EA0 #A0462D #87A02D
monochromatic
#121F40 #203770 #2D4EA0 #4168C9 #708ED7

Accessibility & contrast

On white

7.75
#2D4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EA0
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EA0#FFFFFF#000000##FFFFFF
##2D4EA01.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ea0;
/* rgb */ color: rgb(45, 78, 160);
/* oklch */ color: oklch(44.6% 0.139 264.8);
Tailwind
colors: {
  custom: {
    50: '#757fbd',
    500: '#2d4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ea0;
$custom-light: #757fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ea0",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 222.783,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.1387,
    "h": 264.8
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#2D4EA0
secondary
#BEA66B
accent
#B448DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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