#2E538F#2E538F

#2E538F is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.108 H 259.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2E538F
RGBrgb(46, 83, 143)
HSLhsl(217, 51%, 37%)
HSVhsv(217, 68%, 56%)
CMYKcmyk(67.8%, 42%, 0%, 43.9%)
CIE-LABlab(35.50, 7.40, -37.15)
CIE-LCHlch(35.50, 37.88, 281.27°)
OKLaboklab(44.62% -0.0194 -0.1059)
OKLCHoklch(44.62% 0.108 259.6)
XYZxyz(9.1761, 8.7496, 27.1865)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E538F #8F6A2E
analogous
#2E848F #2E538F #392E8F
triadic
#2E538F #8F2E53 #538F2E
tetradic
#2E538F #8F2E84 #8F6A2E #2E8F39
square
#2E538F #8F2E84 #8F6A2E #2E8F39
split-complementary
#2E538F #8F392E #848F2E
monochromatic
#101D32 #1F3861 #2E538F #3D6EBD #6990CF

Accessibility & contrast

On white

7.64
#2E538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E538F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E538F#FFFFFF#000000##FFFFFF
##2E538F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385891
Deuteranopia (green-blind)
#294F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e538f;
/* rgb */ color: rgb(46, 83, 143);
/* oklch */ color: oklch(44.6% 0.108 259.6);
Tailwind
colors: {
  custom: {
    50: '#7282b0',
    500: '#2e538f',
    950: '#000000',
  },
}
SCSS
$custom: #2e538f;
$custom-light: #7282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e538f",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 217.113,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.10764,
    "h": 259.6
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#2E538F
secondary
#B69663
accent
#A54DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E538F

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

Preview Lab → · Contrast checker → · Palette generator →

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