#2E538C#2E538C

#2E538C is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.4% C 0.103 H 258.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2E538C
RGBrgb(46, 83, 140)
HSLhsl(216, 51%, 36%)
HSVhsv(216, 67%, 55%)
CMYKcmyk(67.1%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.32, 6.28, -35.60)
CIE-LCHlch(35.32, 36.15, 280.00°)
OKLaboklab(44.42% -0.0201 -0.1013)
OKLCHoklch(44.42% 0.103 258.8)
XYZxyz(8.9519, 8.6599, 26.0056)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E538C #8C672E
analogous
#2E828C #2E538C #382E8C
triadic
#2E538C #8C2E53 #538C2E
tetradic
#2E538C #8C2E82 #8C672E #2E8C38
square
#2E538C #8C2E82 #8C672E #2E8C38
split-complementary
#2E538C #8C382E #828C2E
monochromatic
#101C30 #1F385E #2E538C #3D6EBA #678FCD

Accessibility & contrast

On white

7.69
#2E538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E538C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E538C#FFFFFF#000000##FFFFFF
##2E538C1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588E
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e538c;
/* rgb */ color: rgb(46, 83, 140);
/* oklch */ color: oklch(44.4% 0.103 258.8);
Tailwind
colors: {
  custom: {
    50: '#7183ae',
    500: '#2e538c',
    950: '#000000',
  },
}
SCSS
$custom: #2e538c;
$custom-light: #7183ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e538c",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 216.383,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.10332,
    "h": 258.8
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E538C

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

Preview Lab → · Contrast checker → · Palette generator →

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