#2E538B#2E538B

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

Color values

HEX#2E538B
RGBrgb(46, 83, 139)
HSLhsl(216, 50%, 36%)
HSVhsv(216, 67%, 55%)
CMYKcmyk(66.9%, 40.3%, 0%, 45.5%)
CIE-LABlab(35.26, 5.90, -35.09)
CIE-LCHlch(35.26, 35.58, 279.55°)
OKLaboklab(44.36% -0.0203 -0.0998)
OKLCHoklch(44.36% 0.102 258.5)
XYZxyz(8.8785, 8.6306, 25.6191)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E538B #8B662E
analogous
#2E828B #2E538B #382E8B
triadic
#2E538B #8B2E53 #538B2E
tetradic
#2E538B #8B2E82 #8B662E #2E8B38
square
#2E538B #8B2E82 #8B662E #2E8B38
split-complementary
#2E538B #8B382E #828B2E
monochromatic
#101C2F #1F385D #2E538B #3D6EB9 #678FCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E538B#FFFFFF#000000##FFFFFF
##2E538B1.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)
#3A588D
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e538b;
/* rgb */ color: rgb(46, 83, 139);
/* oklch */ color: oklch(44.4% 0.102 258.5);
Tailwind
colors: {
  custom: {
    50: '#7183ad',
    500: '#2e538b',
    950: '#000000',
  },
}
SCSS
$custom: #2e538b;
$custom-light: #7183ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e538b",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 216.129,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44356,
    "c": 0.10188,
    "h": 258.5
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#2E538B
secondary
#B39361
accent
#A24EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E538B

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

Preview Lab → · Contrast checker → · Palette generator →

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