#2E59B8#2E59B8

#2E59B8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.158 H 263.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2E59B8
RGBrgb(46, 89, 184)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 72%)
CMYKcmyk(75%, 51.6%, 0%, 27.8%)
CIE-LABlab(39.89, 18.99, -54.57)
CIE-LCHlch(39.89, 57.78, 289.19°)
OKLaboklab(48.84% -0.0182 -0.157)
OKLCHoklch(48.84% 0.158 263.4)
XYZxyz(13.3477, 11.1848, 46.7935)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59B8 #B88D2E
analogous
#2E9EB8 #2E59B8 #482EB8
triadic
#2E59B8 #B82E59 #59B82E
tetradic
#2E59B8 #B82E9E #B88D2E #2EB848
square
#2E59B8 #B82E9E #B88D2E #2EB848
split-complementary
#2E59B8 #B8482E #9EB82E
monochromatic
#162A56 #224187 #2E59B8 #5079D3 #819EDF

Accessibility & contrast

On white

6.49
#2E59B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2E59B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59B8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59B8#FFFFFF#000000##FFFFFF
##2E59B81.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e59b8;
/* rgb */ color: rgb(46, 89, 184);
/* oklch */ color: oklch(48.8% 0.158 263.4);
Tailwind
colors: {
  custom: {
    50: '#7a87ce',
    500: '#2e59b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e59b8;
$custom-light: #7a87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59b8",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 221.304,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48841,
    "c": 0.15804,
    "h": 263.4
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#2E59B8
secondary
#C8B079
accent
#B245E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E59B8

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

Preview Lab → · Contrast checker → · Palette generator →

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