#2D4282#2D4282

#2D4282 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.111 H 267.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2D4282
RGBrgb(45, 66, 130)
HSLhsl(225, 49%, 34%)
HSVhsv(225, 65%, 51%)
CMYKcmyk(65.4%, 49.2%, 0%, 49%)
CIE-LABlab(29.58, 13.71, -38.62)
CIE-LCHlch(29.58, 40.99, 289.54°)
OKLaboklab(39.78% -0.0047 -0.1105)
OKLCHoklch(39.78% 0.111 267.5)
XYZxyz(7.0583, 6.0654, 21.9135)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4282 #826D2D
analogous
#2D6D82 #2D4282 #432D82
triadic
#2D4282 #822D42 #42822D
tetradic
#2D4282 #822D6D #826D2D #2D8243
square
#2D4282 #822D6D #826D2D #2D8243
split-complementary
#2D4282 #82432D #6D822D
monochromatic
#0E1427 #1D2B55 #2D4282 #3D59AF #617BC8

Accessibility & contrast

On white

9.49
#2D4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4282
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4282#FFFFFF#000000##FFFFFF
##2D42821.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#114281
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4282;
/* rgb */ color: rgb(45, 66, 130);
/* oklch */ color: oklch(39.8% 0.111 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f76a7',
    500: '#2d4282',
    950: '#000000',
  },
}
SCSS
$custom: #2d4282;
$custom-light: #6f76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4282",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 225.176,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39783,
    "c": 0.11059,
    "h": 267.5
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#2D4282
secondary
#AF9A5C
accent
#B650D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4282

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

Preview Lab → · Contrast checker → · Palette generator →

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