#2D4C90#2D4C90

#2D4C90 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.118 H 263.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2D4C90
RGBrgb(45, 76, 144)
HSLhsl(221, 52%, 37%)
HSVhsv(221, 69%, 56%)
CMYKcmyk(68.7%, 47.2%, 0%, 43.5%)
CIE-LABlab(33.43, 12.25, -41.06)
CIE-LCHlch(33.43, 42.85, 286.61°)
OKLaboklab(43.03% -0.0129 -0.1175)
OKLCHoklch(43.03% 0.118 263.7)
XYZxyz(8.6989, 7.7395, 27.4156)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C90 #90712D
analogous
#2D7E90 #2D4C90 #402D90
triadic
#2D4C90 #902D4C #4C902D
tetradic
#2D4C90 #902D7E #90712D #2D9040
square
#2D4C90 #902D7E #90712D #2D9040
split-complementary
#2D4C90 #90402D #7E902D
monochromatic
#101B33 #1E3361 #2D4C90 #3C65BF #6888D0

Accessibility & contrast

On white

8.24
#2D4C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D4C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C90
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C90#FFFFFF#000000##FFFFFF
##2D4C901.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5393
Deuteranopia (green-blind)
#164A8F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4c90;
/* rgb */ color: rgb(45, 76, 144);
/* oklch */ color: oklch(43.0% 0.118 263.7);
Tailwind
colors: {
  custom: {
    50: '#727db1',
    500: '#2d4c90',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c90;
$custom-light: #727db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c90",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 144
  },
  "hsl": {
    "h": 221.212,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.11821,
    "h": 263.7
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#2D4C90
secondary
#B69C62
accent
#AF4CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4C90

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

Preview Lab → · Contrast checker → · Palette generator →

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