#2E559A#2E559A

#2E559A is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.121 H 260.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2E559A
RGBrgb(46, 85, 154)
HSLhsl(218, 54%, 39%)
HSVhsv(218, 70%, 60%)
CMYKcmyk(70.1%, 44.8%, 0%, 39.6%)
CIE-LABlab(36.76, 10.23, -41.79)
CIE-LCHlch(36.76, 43.02, 283.76°)
OKLaboklab(45.81% -0.0192 -0.1195)
OKLCHoklch(45.81% 0.121 260.9)
XYZxyz(10.2059, 9.4099, 31.8440)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E559A #9A732E
analogous
#2E8B9A #2E559A #3D2E9A
triadic
#2E559A #9A2E55 #559A2E
tetradic
#2E559A #9A2E8B #9A732E #2E9A3D
square
#2E559A #9A2E8B #9A732E #2E9A3D
split-complementary
#2E559A #9A3D2E #8B9A2E
monochromatic
#12213C #203B6B #2E559A #3F70C6 #6F93D4

Accessibility & contrast

On white

7.29
#2E559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2E559A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E559A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E559A#FFFFFF#000000##FFFFFF
##2E559A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e559a;
/* rgb */ color: rgb(46, 85, 154);
/* oklch */ color: oklch(45.8% 0.121 260.9);
Tailwind
colors: {
  custom: {
    50: '#7484b8',
    500: '#2e559a',
    950: '#000000',
  },
}
SCSS
$custom: #2e559a;
$custom-light: #7484b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e559a",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 218.333,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.121,
    "h": 260.9
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#2E559A
secondary
#BB9D69
accent
#A84ADD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E559A

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

Preview Lab → · Contrast checker → · Palette generator →

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