#2D4D90#2D4D90

#2D4D90 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.117 H 263.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2D4D90
RGBrgb(45, 77, 144)
HSLhsl(221, 52%, 37%)
HSVhsv(221, 69%, 56%)
CMYKcmyk(68.7%, 46.5%, 0%, 43.5%)
CIE-LABlab(33.73, 11.58, -40.59)
CIE-LCHlch(33.73, 42.21, 285.92°)
OKLaboklab(43.26% -0.0139 -0.1161)
OKLCHoklch(43.26% 0.117 263.2)
XYZxyz(8.7683, 7.8784, 27.4387)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D90 #90702D
analogous
#2D7F90 #2D4D90 #3F2D90
triadic
#2D4D90 #902D4D #4D902D
tetradic
#2D4D90 #902D7F #90702D #2D903F
square
#2D4D90 #902D7F #90702D #2D903F
split-complementary
#2D4D90 #903F2D #7F902D
monochromatic
#101B33 #1E3461 #2D4D90 #3C66BF #6889D0

Accessibility & contrast

On white

8.15
#2D4D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D4D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D90
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D90#FFFFFF#000000##FFFFFF
##2D4D901.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#194B8F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4d90;
/* rgb */ color: rgb(45, 77, 144);
/* oklch */ color: oklch(43.3% 0.117 263.2);
Tailwind
colors: {
  custom: {
    50: '#727eb1',
    500: '#2d4d90',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d90;
$custom-light: #727eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d90",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 144
  },
  "hsl": {
    "h": 220.606,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.11693,
    "h": 263.2
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#2D4D90
secondary
#B69B62
accent
#AD4CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4D90

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

Preview Lab → · Contrast checker → · Palette generator →

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