#2E5C9F#2E5C9F

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

Color values

HEX#2E5C9F
RGBrgb(46, 92, 159)
HSLhsl(216, 55%, 40%)
HSVhsv(216, 71%, 62%)
CMYKcmyk(71.1%, 42.1%, 0%, 37.6%)
CIE-LABlab(39.13, 7.55, -40.99)
CIE-LCHlch(39.13, 41.68, 280.44°)
OKLaboklab(47.74% -0.025 -0.117)
OKLCHoklch(47.74% 0.12 257.9)
XYZxyz(11.2096, 10.7372, 34.2759)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C9F #9F712E
analogous
#2E959F #2E5C9F #382E9F
triadic
#2E5C9F #9F2E5C #5C9F2E
tetradic
#2E5C9F #9F2E95 #9F712E #2E9F38
square
#2E5C9F #9F2E95 #9F712E #2E9F38
split-complementary
#2E5C9F #9F382E #959F2E
monochromatic
#132540 #204170 #2E5C9F #4279C8 #719AD6

Accessibility & contrast

On white

6.67
#2E5C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E5C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5C9F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C9F#FFFFFF#000000##FFFFFF
##2E5C9F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A2
Deuteranopia (green-blind)
#2A579E
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5c9f;
/* rgb */ color: rgb(46, 92, 159);
/* oklch */ color: oklch(47.7% 0.120 257.9);
Tailwind
colors: {
  custom: {
    50: '#7589bc',
    500: '#2e5c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c9f;
$custom-light: #7589bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c9f",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 159
  },
  "hsl": {
    "h": 215.575,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47741,
    "c": 0.11966,
    "h": 257.9
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#2E5C9F
secondary
#BE9C6B
accent
#A249DE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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