#2D4276#2D4276

#2D4276 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.092 H 265.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2D4276
RGBrgb(45, 66, 118)
HSLhsl(223, 45%, 32%)
HSVhsv(223, 62%, 46%)
CMYKcmyk(61.9%, 44.1%, 0%, 53.7%)
CIE-LABlab(28.80, 9.22, -32.35)
CIE-LCHlch(28.80, 33.64, 285.92°)
OKLaboklab(38.94% -0.0069 -0.0921)
OKLCHoklch(38.94% 0.092 265.7)
XYZxyz(6.2993, 5.7618, 17.9162)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4276 #76612D
analogous
#2D6776 #2D4276 #3D2D76
triadic
#2D4276 #762D42 #42762D
tetradic
#2D4276 #762D67 #76612D #2D763D
square
#2D4276 #762D67 #76612D #2D763D
split-complementary
#2D4276 #763D2D #67762D
monochromatic
#0B101D #1C294A #2D4276 #3E5BA2 #5C79C1

Accessibility & contrast

On white

9.76
#2D4276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D4276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4276
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4276#FFFFFF#000000##FFFFFF
##2D42761.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4778
Deuteranopia (green-blind)
#214175
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4276;
/* rgb */ color: rgb(45, 66, 118);
/* oklch */ color: oklch(38.9% 0.092 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d769e',
    500: '#2d4276',
    950: '#000000',
  },
}
SCSS
$custom: #2d4276;
$custom-light: #6d769e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4276",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 222.74,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.09231,
    "h": 265.7
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#2D4276
secondary
#A79057
accent
#AF53D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4276

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

Preview Lab → · Contrast checker → · Palette generator →

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