#2E5A9B#2E5A9B

#2E5A9B is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.0% C 0.116 H 258.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2E5A9B
RGBrgb(46, 90, 155)
HSLhsl(216, 54%, 39%)
HSVhsv(216, 70%, 61%)
CMYKcmyk(70.3%, 41.9%, 0%, 39.2%)
CIE-LABlab(38.30, 7.34, -39.93)
CIE-LCHlch(38.30, 40.60, 280.42°)
OKLaboklab(47.02% -0.0239 -0.1139)
OKLCHoklch(47.02% 0.116 258.2)
XYZxyz(10.6971, 10.2586, 32.4203)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A9B #9B6F2E
analogous
#2E919B #2E5A9B #392E9B
triadic
#2E5A9B #9B2E5A #5A9B2E
tetradic
#2E5A9B #9B2E91 #9B6F2E #2E9B39
square
#2E5A9B #9B2E91 #9B6F2E #2E9B39
split-complementary
#2E5A9B #9B392E #919B2E
monochromatic
#12233D #203F6C #2E5A9B #4076C6 #6F98D4

Accessibility & contrast

On white

6.88
#2E5A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5A9B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A9B#FFFFFF#000000##FFFFFF
##2E5A9B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#2A569A
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5a9b;
/* rgb */ color: rgb(46, 90, 155);
/* oklch */ color: oklch(47.0% 0.116 258.2);
Tailwind
colors: {
  custom: {
    50: '#7488b9',
    500: '#2e5a9b',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a9b;
$custom-light: #7488b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a9b",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 155
  },
  "hsl": {
    "h": 215.78,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.1164,
    "h": 258.2
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#2E5A9B
secondary
#BC9A69
accent
#A24ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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