#2D4284#2D4284

#2D4284 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.114 H 267.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2D4284
RGBrgb(45, 66, 132)
HSLhsl(226, 49%, 35%)
HSVhsv(226, 66%, 52%)
CMYKcmyk(65.9%, 50%, 0%, 48.2%)
CIE-LABlab(29.71, 14.46, -39.65)
CIE-LCHlch(29.71, 42.21, 290.04°)
OKLaboklab(39.93% -0.0045 -0.1135)
OKLCHoklch(39.93% 0.114 267.7)
XYZxyz(7.1938, 6.1196, 22.6274)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4284 #846F2D
analogous
#2D6E84 #2D4284 #432D84
triadic
#2D4284 #842D42 #42842D
tetradic
#2D4284 #842D6E #846F2D #2D8443
square
#2D4284 #842D6E #846F2D #2D8443
split-complementary
#2D4284 #84432D #6E842D
monochromatic
#0E1429 #1D2B56 #2D4284 #3D59B2 #627BC9

Accessibility & contrast

On white

9.44
#2D4284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D4284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4284
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4284#FFFFFF#000000##FFFFFF
##2D42841.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#0D4283
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4284;
/* rgb */ color: rgb(45, 66, 132);
/* oklch */ color: oklch(39.9% 0.114 267.7);
Tailwind
colors: {
  custom: {
    50: '#7076a8',
    500: '#2d4284',
    950: '#000000',
  },
}
SCSS
$custom: #2d4284;
$custom-light: #7076a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4284",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 225.517,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39929,
    "c": 0.1136,
    "h": 267.7
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#2D4284
secondary
#B09C5D
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4284

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

Preview Lab → · Contrast checker → · Palette generator →

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