#2D538E#2D538E

#2D538E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.107 H 258.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2D538E
RGBrgb(45, 83, 142)
HSLhsl(216, 52%, 37%)
HSVhsv(216, 68%, 56%)
CMYKcmyk(68.3%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.39, 6.85, -36.71)
CIE-LCHlch(35.39, 37.34, 280.57°)
OKLaboklab(44.5% -0.0205 -0.1046)
OKLCHoklch(44.5% 0.107 258.9)
XYZxyz(9.0562, 8.6965, 26.7873)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D538E #8E682D
analogous
#2D848E #2D538E #382D8E
triadic
#2D538E #8E2D53 #538E2D
tetradic
#2D538E #8E2D84 #8E682D #2D8E38
square
#2D538E #8E2D84 #8E682D #2D8E38
split-complementary
#2D538E #8E382D #848E2D
monochromatic
#101D31 #1E3860 #2D538E #3C6EBC #678FCF

Accessibility & contrast

On white

7.67
#2D538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D538E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D538E#FFFFFF#000000##FFFFFF
##2D538E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d538e;
/* rgb */ color: rgb(45, 83, 142);
/* oklch */ color: oklch(44.5% 0.107 258.9);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2d538e',
    950: '#000000',
  },
}
SCSS
$custom: #2d538e;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d538e",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 216.495,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.1066,
    "h": 258.9
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D538E

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

Preview Lab → · Contrast checker → · Palette generator →

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