#2D4F90#2D4F90

#2D4F90 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.114 H 262.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2D4F90
RGBrgb(45, 79, 144)
HSLhsl(219, 52%, 37%)
HSVhsv(219, 69%, 56%)
CMYKcmyk(68.7%, 45.1%, 0%, 43.5%)
CIE-LABlab(34.32, 10.24, -39.64)
CIE-LCHlch(34.32, 40.95, 284.49°)
OKLaboklab(43.71% -0.0159 -0.1133)
OKLCHoklch(43.71% 0.114 262)
XYZxyz(8.9104, 8.1626, 27.4861)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F90 #906E2D
analogous
#2D8190 #2D4F90 #3D2D90
triadic
#2D4F90 #902D4F #4F902D
tetradic
#2D4F90 #902D81 #906E2D #2D903D
square
#2D4F90 #902D81 #906E2D #2D903D
split-complementary
#2D4F90 #903D2D #81902D
monochromatic
#101C33 #1E3561 #2D4F90 #3C69BF #688BD0

Accessibility & contrast

On white

7.98
#2D4F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D4F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F90
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F90#FFFFFF#000000##FFFFFF
##2D4F901.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305692
Deuteranopia (green-blind)
#1F4C8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4f90;
/* rgb */ color: rgb(45, 79, 144);
/* oklch */ color: oklch(43.7% 0.114 262.0);
Tailwind
colors: {
  custom: {
    50: '#727fb1',
    500: '#2d4f90',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f90;
$custom-light: #727fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f90",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 219.394,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.11439,
    "h": 262
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#2D4F90
secondary
#B69A62
accent
#AA4CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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