#2D538D#2D538D

#2D538D is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.4% C 0.105 H 258.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2D538D
RGBrgb(45, 83, 141)
HSLhsl(216, 52%, 36%)
HSVhsv(216, 68%, 55%)
CMYKcmyk(68.1%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.33, 6.47, -36.20)
CIE-LCHlch(35.33, 36.77, 280.14°)
OKLaboklab(44.44% -0.0207 -0.1031)
OKLCHoklch(44.44% 0.105 258.6)
XYZxyz(8.9814, 8.6666, 26.3936)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D538D #8D672D
analogous
#2D838D #2D538D #372D8D
triadic
#2D538D #8D2D53 #538D2D
tetradic
#2D538D #8D2D83 #8D672D #2D8D37
square
#2D538D #8D2D83 #8D672D #2D8D37
split-complementary
#2D538D #8D372D #838D2D
monochromatic
#0F1C30 #1E385F #2D538D #3C6EBB #668FCE

Accessibility & contrast

On white

7.68
#2D538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D538D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D538D#FFFFFF#000000##FFFFFF
##2D538D1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d538d;
/* rgb */ color: rgb(45, 83, 141);
/* oklch */ color: oklch(44.4% 0.105 258.6);
Tailwind
colors: {
  custom: {
    50: '#7183af',
    500: '#2d538d',
    950: '#000000',
  },
}
SCSS
$custom: #2d538d;
$custom-light: #7183af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d538d",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 216.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44437,
    "c": 0.10516,
    "h": 258.6
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#2D538D
secondary
#B59461
accent
#A34DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D538D

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

Preview Lab → · Contrast checker → · Palette generator →

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