#2D4EA2#2D4EA2

#2D4EA2 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.142 H 265.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2D4EA2
RGBrgb(45, 78, 162)
HSLhsl(223, 57%, 41%)
HSVhsv(223, 72%, 64%)
CMYKcmyk(72.2%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.23, 17.76, -49.06)
CIE-LCHlch(35.23, 52.17, 289.90°)
OKLaboklab(44.79% -0.0123 -0.141)
OKLCHoklch(44.79% 0.142 265)
XYZxyz(10.3259, 8.6142, 35.2939)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EA2 #A2812D
analogous
#2D88A2 #2D4EA2 #462DA2
triadic
#2D4EA2 #A22D4E #4EA22D
tetradic
#2D4EA2 #A22D88 #A2812D #2DA246
square
#2D4EA2 #A22D88 #A2812D #2DA246
split-complementary
#2D4EA2 #A2462D #88A22D
monochromatic
#122042 #203772 #2D4EA2 #4268CA #728ED8

Accessibility & contrast

On white

7.71
#2D4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D4EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EA2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EA2#FFFFFF#000000##FFFFFF
##2D4EA21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ea2;
/* rgb */ color: rgb(45, 78, 162);
/* oklch */ color: oklch(44.8% 0.142 265.0);
Tailwind
colors: {
  custom: {
    50: '#757fbe',
    500: '#2d4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ea2;
$custom-light: #757fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ea2",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 223.077,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.14152,
    "h": 265
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#2D4EA2
secondary
#BFA86C
accent
#B548E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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