#2E538E#2E538E

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

Color values

HEX#2E538E
RGBrgb(46, 83, 142)
HSLhsl(217, 51%, 37%)
HSVhsv(217, 68%, 56%)
CMYKcmyk(67.6%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.44, 7.03, -36.64)
CIE-LCHlch(35.44, 37.30, 280.86°)
OKLaboklab(44.55% -0.0196 -0.1044)
OKLCHoklch(44.55% 0.106 259.3)
XYZxyz(9.1007, 8.7195, 26.7894)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E538E #8E692E
analogous
#2E838E #2E538E #392E8E
triadic
#2E538E #8E2E53 #538E2E
tetradic
#2E538E #8E2E83 #8E692E #2E8E39
square
#2E538E #8E2E83 #8E692E #2E8E39
split-complementary
#2E538E #8E392E #838E2E
monochromatic
#101D32 #1F3860 #2E538E #3D6EBC #6890CE

Accessibility & contrast

On white

7.65
#2E538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E538E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E538E#FFFFFF#000000##FFFFFF
##2E538E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#2A4F8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e538e;
/* rgb */ color: rgb(46, 83, 142);
/* oklch */ color: oklch(44.5% 0.106 259.3);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2e538e',
    950: '#000000',
  },
}
SCSS
$custom: #2e538e;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e538e",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 216.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4455,
    "c": 0.1062,
    "h": 259.3
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#2E538E
secondary
#B59563
accent
#A44DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E538E

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

Preview Lab → · Contrast checker → · Palette generator →

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