#2E538A#2E538A

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

Color values

HEX#2E538A
RGBrgb(46, 83, 138)
HSLhsl(216, 50%, 36%)
HSVhsv(216, 67%, 54%)
CMYKcmyk(66.7%, 39.9%, 0%, 45.9%)
CIE-LABlab(35.21, 5.53, -34.57)
CIE-LCHlch(35.21, 35.01, 279.09°)
OKLaboklab(44.29% -0.0206 -0.0983)
OKLCHoklch(44.29% 0.1 258.2)
XYZxyz(8.8058, 8.6015, 25.2360)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E538A #8A652E
analogous
#2E818A #2E538A #372E8A
triadic
#2E538A #8A2E53 #538A2E
tetradic
#2E538A #8A2E81 #8A652E #2E8A37
square
#2E538A #8A2E81 #8A652E #2E8A37
split-complementary
#2E538A #8A372E #818A2E
monochromatic
#0F1C2E #1F375C #2E538A #3D6FB8 #668FCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E538A#FFFFFF#000000##FFFFFF
##2E538A1.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)
#3B578C
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e538a;
/* rgb */ color: rgb(46, 83, 138);
/* oklch */ color: oklch(44.3% 0.100 258.2);
Tailwind
colors: {
  custom: {
    50: '#7183ac',
    500: '#2e538a',
    950: '#000000',
  },
}
SCSS
$custom: #2e538a;
$custom-light: #7183ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e538a",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 215.87,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44293,
    "c": 0.10044,
    "h": 258.2
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E538A

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

Preview Lab → · Contrast checker → · Palette generator →

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