#2D538C#2D538C

#2D538C is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.104 H 258.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2D538C
RGBrgb(45, 83, 140)
HSLhsl(216, 51%, 36%)
HSVhsv(216, 68%, 55%)
CMYKcmyk(67.9%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.28, 6.10, -35.68)
CIE-LCHlch(35.28, 36.20, 279.70°)
OKLaboklab(44.37% -0.0209 -0.1016)
OKLCHoklch(44.37% 0.104 258.3)
XYZxyz(8.9074, 8.6370, 26.0035)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D538C #8C662D
analogous
#2D838C #2D538C #372D8C
triadic
#2D538C #8C2D53 #538C2D
tetradic
#2D538C #8C2D83 #8C662D #2D8C37
square
#2D538C #8C2D83 #8C662D #2D8C37
split-complementary
#2D538C #8C372D #838C2D
monochromatic
#0F1C2F #1E385E #2D538C #3C6EBA #668FCE

Accessibility & contrast

On white

7.70
#2D538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D538C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D538C#FFFFFF#000000##FFFFFF
##2D538C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588E
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d538c;
/* rgb */ color: rgb(45, 83, 140);
/* oklch */ color: oklch(44.4% 0.104 258.3);
Tailwind
colors: {
  custom: {
    50: '#7183ae',
    500: '#2d538c',
    950: '#000000',
  },
}
SCSS
$custom: #2d538c;
$custom-light: #7183ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d538c",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 216,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44373,
    "c": 0.10373,
    "h": 258.3
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#2D538C
secondary
#B49360
accent
#A24DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D538C

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

Preview Lab → · Contrast checker → · Palette generator →

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