#2D4079#2D4079

#2D4079 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.100 H 267.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2D4079
RGBrgb(45, 64, 121)
HSLhsl(225, 46%, 33%)
HSVhsv(225, 63%, 47%)
CMYKcmyk(62.8%, 47.1%, 0%, 52.5%)
CIE-LABlab(28.39, 11.70, -34.89)
CIE-LCHlch(28.39, 36.80, 288.54°)
OKLaboklab(38.69% -0.004 -0.0995)
OKLCHoklch(38.69% 0.1 267.7)
XYZxyz(6.3656, 5.6046, 18.8318)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4079 #79662D
analogous
#2D6679 #2D4079 #402D79
triadic
#2D4079 #792D40 #40792D
tetradic
#2D4079 #792D66 #79662D #2D7940
square
#2D4079 #792D66 #79662D #2D7940
split-complementary
#2D4079 #79402D #66792D
monochromatic
#0C1120 #1C284C #2D4079 #3E58A6 #5D77C3

Accessibility & contrast

On white

9.90
#2D4079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D4079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4079
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4079#FFFFFF#000000##FFFFFF
##2D40791.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#1A4078
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4079;
/* rgb */ color: rgb(45, 64, 121);
/* oklch */ color: oklch(38.7% 0.100 267.7);
Tailwind
colors: {
  custom: {
    50: '#6e74a0',
    500: '#2d4079',
    950: '#000000',
  },
}
SCSS
$custom: #2d4079;
$custom-light: #6e74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4079",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 225,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38686,
    "c": 0.09963,
    "h": 267.7
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#2D4079
secondary
#A99558
accent
#B552D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #2D4079

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

Preview Lab → · Contrast checker → · Palette generator →

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