#2D4E89#2D4E89

#2D4E89 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.105 H 261.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2D4E89
RGBrgb(45, 78, 137)
HSLhsl(218, 51%, 36%)
HSVhsv(218, 67%, 54%)
CMYKcmyk(67.2%, 43.1%, 0%, 46.3%)
CIE-LABlab(33.59, 8.27, -36.53)
CIE-LCHlch(33.59, 37.45, 282.75°)
OKLaboklab(43.01% -0.0163 -0.1042)
OKLCHoklch(43.01% 0.105 261.1)
XYZxyz(8.3203, 7.8120, 24.7314)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E89 #89682D
analogous
#2D7C89 #2D4E89 #3A2D89
triadic
#2D4E89 #892D4E #4E892D
tetradic
#2D4E89 #892D7C #89682D #2D893A
square
#2D4E89 #892D7C #89682D #2D893A
split-complementary
#2D4E89 #893A2D #7C892D
monochromatic
#0F1A2D #1E345B #2D4E89 #3C68B7 #648ACC

Accessibility & contrast

On white

8.19
#2D4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E89
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E89#FFFFFF#000000##FFFFFF
##2D4E891.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548B
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4e89;
/* rgb */ color: rgb(45, 78, 137);
/* oklch */ color: oklch(43.0% 0.105 261.1);
Tailwind
colors: {
  custom: {
    50: '#707fac',
    500: '#2d4e89',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e89;
$custom-light: #707fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e89",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 218.478,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43008,
    "c": 0.10543,
    "h": 261.1
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#2D4E89
secondary
#B3955F
accent
#A84EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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