#2E538D#2E538D

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

Color values

HEX#2E538D
RGBrgb(46, 83, 141)
HSLhsl(217, 51%, 37%)
HSVhsv(217, 67%, 55%)
CMYKcmyk(67.4%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.38, 6.65, -36.12)
CIE-LCHlch(35.38, 36.73, 280.43°)
OKLaboklab(44.49% -0.0199 -0.1029)
OKLCHoklch(44.49% 0.105 259.1)
XYZxyz(9.0260, 8.6896, 26.3957)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E538D #8D682E
analogous
#2E838D #2E538D #392E8D
triadic
#2E538D #8D2E53 #538D2E
tetradic
#2E538D #8D2E83 #8D682E #2E8D39
square
#2E538D #8D2E83 #8D682E #2E8D39
split-complementary
#2E538D #8D392E #838D2E
monochromatic
#101D31 #1F385F #2E538D #3D6EBB #688FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E538D#FFFFFF#000000##FFFFFF
##2E538D1.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)
#39588F
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e538d;
/* rgb */ color: rgb(46, 83, 141);
/* oklch */ color: oklch(44.5% 0.105 259.1);
Tailwind
colors: {
  custom: {
    50: '#7183af',
    500: '#2e538d',
    950: '#000000',
  },
}
SCSS
$custom: #2e538d;
$custom-light: #7183af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e538d",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 216.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.10476,
    "h": 259.1
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#2E538D
secondary
#B59462
accent
#A34EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E538D

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

Preview Lab → · Contrast checker → · Palette generator →

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