#2D538F#2D538F

#2D538F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.108 H 259.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2D538F
RGBrgb(45, 83, 143)
HSLhsl(217, 52%, 37%)
HSVhsv(217, 69%, 56%)
CMYKcmyk(68.5%, 42%, 0%, 43.9%)
CIE-LABlab(35.45, 7.22, -37.22)
CIE-LCHlch(35.45, 37.92, 280.98°)
OKLaboklab(44.57% -0.0203 -0.1061)
OKLCHoklch(44.57% 0.108 259.2)
XYZxyz(9.1316, 8.7267, 27.1844)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D538F #8F692D
analogous
#2D848F #2D538F #382D8F
triadic
#2D538F #8F2D53 #538F2D
tetradic
#2D538F #8F2D84 #8F692D #2D8F38
square
#2D538F #8F2D84 #8F692D #2D8F38
split-complementary
#2D538F #8F382D #848F2D
monochromatic
#101D32 #1E3860 #2D538F #3C6EBE #6790CF

Accessibility & contrast

On white

7.65
#2D538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2D538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D538F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D538F#FFFFFF#000000##FFFFFF
##2D538F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d538f;
/* rgb */ color: rgb(45, 83, 143);
/* oklch */ color: oklch(44.6% 0.108 259.2);
Tailwind
colors: {
  custom: {
    50: '#7182b0',
    500: '#2d538f',
    950: '#000000',
  },
}
SCSS
$custom: #2d538f;
$custom-light: #7182b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d538f",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 216.735,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44567,
    "c": 0.10804,
    "h": 259.2
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#2D538F
secondary
#B69562
accent
#A44CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D538F

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

Preview Lab → · Contrast checker → · Palette generator →

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