#2E5A9A#2E5A9A

#2E5A9A is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.115 H 257.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2E5A9A
RGBrgb(46, 90, 154)
HSLhsl(216, 54%, 39%)
HSVhsv(216, 70%, 60%)
CMYKcmyk(70.1%, 41.6%, 0%, 39.6%)
CIE-LABlab(38.24, 6.97, -39.42)
CIE-LCHlch(38.24, 40.03, 280.02°)
OKLaboklab(46.96% -0.0241 -0.1124)
OKLCHoklch(46.96% 0.115 257.9)
XYZxyz(10.6135, 10.2252, 31.9799)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A9A #9A6E2E
analogous
#2E909A #2E5A9A #382E9A
triadic
#2E5A9A #9A2E5A #5A9A2E
tetradic
#2E5A9A #9A2E90 #9A6E2E #2E9A38
square
#2E5A9A #9A2E90 #9A6E2E #2E9A38
split-complementary
#2E5A9A #9A382E #909A2E
monochromatic
#12233C #203E6B #2E5A9A #3F76C6 #6F98D4

Accessibility & contrast

On white

6.90
#2E5A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E5A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5A9A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A9A#FFFFFF#000000##FFFFFF
##2E5A9A1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9D
Deuteranopia (green-blind)
#2B5599
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5a9a;
/* rgb */ color: rgb(46, 90, 154);
/* oklch */ color: oklch(47.0% 0.115 257.9);
Tailwind
colors: {
  custom: {
    50: '#7488b8',
    500: '#2e5a9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a9a;
$custom-light: #7488b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a9a",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 154
  },
  "hsl": {
    "h": 215.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.115,
    "h": 257.9
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#2E5A9A
secondary
#BB9A69
accent
#A24ADD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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