#2E5C9E#2E5C9E

#2E5C9E is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.7% C 0.118 H 257.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2E5C9E
RGBrgb(46, 92, 158)
HSLhsl(215, 55%, 40%)
HSVhsv(215, 71%, 62%)
CMYKcmyk(70.9%, 41.8%, 0%, 38%)
CIE-LABlab(39.08, 7.18, -40.49)
CIE-LCHlch(39.08, 41.12, 280.05°)
OKLaboklab(47.68% -0.0252 -0.1155)
OKLCHoklch(47.68% 0.118 257.7)
XYZxyz(11.1232, 10.7026, 33.8207)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C9E #9E702E
analogous
#2E949E #2E5C9E #382E9E
triadic
#2E5C9E #9E2E5C #5C9E2E
tetradic
#2E5C9E #9E2E94 #9E702E #2E9E38
square
#2E5C9E #9E2E94 #9E702E #2E9E38
split-complementary
#2E5C9E #9E382E #949E2E
monochromatic
#12253F #20406F #2E5C9E #4179C8 #719AD6

Accessibility & contrast

On white

6.69
#2E5C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2E5C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5C9E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C9E#FFFFFF#000000##FFFFFF
##2E5C9E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#2B579D
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5c9e;
/* rgb */ color: rgb(46, 92, 158);
/* oklch */ color: oklch(47.7% 0.118 257.7);
Tailwind
colors: {
  custom: {
    50: '#7489bb',
    500: '#2e5c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c9e;
$custom-light: #7489bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c9e",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 158
  },
  "hsl": {
    "h": 215.357,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.11827,
    "h": 257.7
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#2E5C9E
secondary
#BD9B6B
accent
#A14ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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