#2E5B9E#2E5B9E

#2E5B9E is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.4% C 0.119 H 258.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2E5B9E
RGBrgb(46, 91, 158)
HSLhsl(216, 55%, 40%)
HSVhsv(216, 71%, 62%)
CMYKcmyk(70.9%, 42.4%, 0%, 38%)
CIE-LABlab(38.78, 7.82, -40.96)
CIE-LCHlch(38.78, 41.70, 280.81°)
OKLaboklab(47.45% -0.0242 -0.1169)
OKLCHoklch(47.45% 0.119 258.3)
XYZxyz(11.0371, 10.5305, 33.7920)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B9E #9E712E
analogous
#2E939E #2E5B9E #392E9E
triadic
#2E5B9E #9E2E5B #5B9E2E
tetradic
#2E5B9E #9E2E93 #9E712E #2E9E39
square
#2E5B9E #9E2E93 #9E712E #2E9E39
split-complementary
#2E5B9E #9E392E #939E2E
monochromatic
#12243F #20406F #2E5B9E #4177C8 #7199D6

Accessibility & contrast

On white

6.76
#2E5B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E5B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5B9E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B9E#FFFFFF#000000##FFFFFF
##2E5B9E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B61A1
Deuteranopia (green-blind)
#29579D
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5b9e;
/* rgb */ color: rgb(46, 91, 158);
/* oklch */ color: oklch(47.4% 0.119 258.3);
Tailwind
colors: {
  custom: {
    50: '#7488bb',
    500: '#2e5b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b9e;
$custom-light: #7488bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b9e",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 158
  },
  "hsl": {
    "h": 215.893,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.11944,
    "h": 258.3
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#2E5B9E
secondary
#BD9C6B
accent
#A34ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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