#2E59BA#2E59BA

#2E59BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.161 H 263.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2E59BA
RGBrgb(46, 89, 186)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(75.3%, 52.2%, 0%, 27.1%)
CIE-LABlab(40.03, 19.75, -55.51)
CIE-LCHlch(40.03, 58.92, 289.58°)
OKLaboklab(48.99% -0.018 -0.1598)
OKLCHoklch(48.99% 0.161 263.6)
XYZxyz(13.5589, 11.2693, 47.9054)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59BA #BA8F2E
analogous
#2E9FBA #2E59BA #492EBA
triadic
#2E59BA #BA2E59 #59BA2E
tetradic
#2E59BA #BA2E9F #BA8F2E #2EBA49
square
#2E59BA #BA2E9F #BA8F2E #2EBA49
split-complementary
#2E59BA #BA492E #9FBA2E
monochromatic
#162A58 #224289 #2E59BA #5179D4 #829FE0

Accessibility & contrast

On white

6.45
#2E59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2E59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59BA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59BA#FFFFFF#000000##FFFFFF
##2E59BA1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e59ba;
/* rgb */ color: rgb(46, 89, 186);
/* oklch */ color: oklch(49.0% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#7b87cf',
    500: '#2e59ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e59ba;
$custom-light: #7b87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59ba",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 221.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.16078,
    "h": 263.6
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#2E59BA
secondary
#C9B17B
accent
#B344E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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