#2D4E9C#2D4E9C

#2D4E9C is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.133 H 264.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2D4E9C
RGBrgb(45, 78, 156)
HSLhsl(222, 55%, 39%)
HSVhsv(222, 71%, 61%)
CMYKcmyk(71.2%, 50%, 0%, 38.8%)
CIE-LABlab(34.81, 15.47, -46.12)
CIE-LCHlch(34.81, 48.65, 288.54°)
OKLaboklab(44.34% -0.013 -0.1323)
OKLCHoklch(44.34% 0.133 264.4)
XYZxyz(9.8052, 8.4060, 32.5518)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E9C #9C7B2D
analogous
#2D869C #2D4E9C #442D9C
triadic
#2D4E9C #9C2D4E #4E9C2D
tetradic
#2D4E9C #9C2D86 #9C7B2D #2D9C44
square
#2D4E9C #9C2D86 #9C7B2D #2D9C44
split-complementary
#2D4E9C #9C442D #869C2D
monochromatic
#121F3D #1F366D #2D4E9C #3F67C8 #6E8DD5

Accessibility & contrast

On white

7.83
#2D4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2D4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E9C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E9C#FFFFFF#000000##FFFFFF
##2D4E9C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d4e9c;
/* rgb */ color: rgb(45, 78, 156);
/* oklch */ color: oklch(44.3% 0.133 264.4);
Tailwind
colors: {
  custom: {
    50: '#747fba',
    500: '#2d4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e9c;
$custom-light: #747fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e9c",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 222.162,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44344,
    "c": 0.13299,
    "h": 264.4
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#2D4E9C
secondary
#BCA368
accent
#B249DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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