#2D3574#2D3574

#2D3574 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.107 H 274.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3574
RGBrgb(45, 53, 116)
HSLhsl(233, 44%, 32%)
HSVhsv(233, 61%, 45%)
CMYKcmyk(61.2%, 54.3%, 0%, 54.5%)
CIE-LABlab(24.84, 17.43, -37.43)
CIE-LCHlch(24.84, 41.29, 294.97°)
OKLaboklab(35.88% 0.0079 -0.1071)
OKLCHoklch(35.88% 0.107 274.2)
XYZxyz(5.5066, 4.3646, 17.0719)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3574 #746C2D
analogous
#2D5974 #2D3574 #492D74
triadic
#2D3574 #742D35 #35742D
tetradic
#2D3574 #742D59 #746C2D #2D7449
square
#2D3574 #742D59 #746C2D #2D7449
split-complementary
#2D3574 #74492D #59742D
monochromatic
#0B0D1C #1C2148 #2D3574 #3E49A0 #5C67C0

Accessibility & contrast

On white

11.21
#2D3574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D3574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3574
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3574#FFFFFF#000000##FFFFFF
##2D35741.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#023873
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3574;
/* rgb */ color: rgb(45, 53, 116);
/* oklch */ color: oklch(35.9% 0.107 274.2);
Tailwind
colors: {
  custom: {
    50: '#6d6c9c',
    500: '#2d3574',
    950: '#000000',
  },
}
SCSS
$custom: #2d3574;
$custom-light: #6d6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3574",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 116
  },
  "hsl": {
    "h": 233.239,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.10743,
    "h": 274.2
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2D3574
secondary
#A59D57
accent
#C554D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3574

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

Preview Lab → · Contrast checker → · Palette generator →

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