#2D538B#2D538B

#2D538B is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.102 H 258.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2D538B
RGBrgb(45, 83, 139)
HSLhsl(216, 51%, 36%)
HSVhsv(216, 68%, 55%)
CMYKcmyk(67.6%, 40.3%, 0%, 45.5%)
CIE-LABlab(35.22, 5.72, -35.16)
CIE-LCHlch(35.22, 35.62, 279.24°)
OKLaboklab(44.31% -0.0212 -0.1001)
OKLCHoklch(44.31% 0.102 258)
XYZxyz(8.8340, 8.6076, 25.6170)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D538B #8B652D
analogous
#2D828B #2D538B #362D8B
triadic
#2D538B #8B2D53 #538B2D
tetradic
#2D538B #8B2D82 #8B652D #2D8B36
square
#2D538B #8B2D82 #8B652D #2D8B36
split-complementary
#2D538B #8B362D #828B2D
monochromatic
#0F1C2F #1E375D #2D538B #3C6FB9 #658FCD

Accessibility & contrast

On white

7.72
#2D538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D538B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D538B#FFFFFF#000000##FFFFFF
##2D538B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588D
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d538b;
/* rgb */ color: rgb(45, 83, 139);
/* oklch */ color: oklch(44.3% 0.102 258.0);
Tailwind
colors: {
  custom: {
    50: '#7083ad',
    500: '#2d538b',
    950: '#000000',
  },
}
SCSS
$custom: #2d538b;
$custom-light: #7083ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d538b",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 215.745,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.10229,
    "h": 258
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#2D538B
secondary
#B49260
accent
#A14DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D538B

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

Preview Lab → · Contrast checker → · Palette generator →

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