#2D4684#2D4684

#2D4684 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.108 H 265.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2D4684
RGBrgb(45, 70, 132)
HSLhsl(223, 49%, 35%)
HSVhsv(223, 66%, 52%)
CMYKcmyk(65.9%, 47%, 0%, 48.2%)
CIE-LABlab(30.89, 11.75, -37.77)
CIE-LCHlch(30.89, 39.55, 287.28°)
OKLaboklab(40.83% -0.0087 -0.1079)
OKLCHoklch(40.83% 0.108 265.4)
XYZxyz(7.4358, 6.6035, 22.7081)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4684 #846B2D
analogous
#2D7284 #2D4684 #402D84
triadic
#2D4684 #842D46 #46842D
tetradic
#2D4684 #842D72 #846B2D #2D8440
square
#2D4684 #842D72 #846B2D #2D8440
split-complementary
#2D4684 #84402D #72842D
monochromatic
#0E1629 #1D2E56 #2D4684 #3D5EB2 #6280C9

Accessibility & contrast

On white

9.05
#2D4684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D4684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4684
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4684#FFFFFF#000000##FFFFFF
##2D46841.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#194583
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4684;
/* rgb */ color: rgb(45, 70, 132);
/* oklch */ color: oklch(40.8% 0.108 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f79a8',
    500: '#2d4684',
    950: '#000000',
  },
}
SCSS
$custom: #2d4684;
$custom-light: #6f79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4684",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 222.759,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.10826,
    "h": 265.4
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#2D4684
secondary
#B0985D
accent
#B14FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4684

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

Preview Lab → · Contrast checker → · Palette generator →

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