#2E59A8#2E59A8

#2E59A8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.136 H 261.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2E59A8
RGBrgb(46, 89, 168)
HSLhsl(219, 57%, 42%)
HSVhsv(219, 73%, 66%)
CMYKcmyk(72.6%, 47%, 0%, 34.1%)
CIE-LABlab(38.81, 12.91, -46.86)
CIE-LCHlch(38.81, 48.61, 285.40°)
OKLaboklab(47.68% -0.0204 -0.1343)
OKLCHoklch(47.68% 0.136 261.3)
XYZxyz(11.7644, 10.5515, 38.4548)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59A8 #A87D2E
analogous
#2E96A8 #2E59A8 #402EA8
triadic
#2E59A8 #A82E59 #59A82E
tetradic
#2E59A8 #A82E96 #A87D2E #2EA840
square
#2E59A8 #A82E96 #A87D2E #2EA840
split-complementary
#2E59A8 #A8402E #96A82E
monochromatic
#142648 #214078 #2E59A8 #4776CD #779ADA

Accessibility & contrast

On white

6.75
#2E59A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E59A8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59A8#FFFFFF#000000##FFFFFF
##2E59A81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AB
Deuteranopia (green-blind)
#1356A6
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e59a8;
/* rgb */ color: rgb(46, 89, 168);
/* oklch */ color: oklch(47.7% 0.136 261.3);
Tailwind
colors: {
  custom: {
    50: '#7787c2',
    500: '#2e59a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e59a8;
$custom-light: #7787c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59a8",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 168
  },
  "hsl": {
    "h": 218.852,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.13588,
    "h": 261.3
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#2E59A8
secondary
#C2A570
accent
#AA48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E59A8

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

Preview Lab → · Contrast checker → · Palette generator →

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