#2E599C#2E599C

#2E599C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.9% C 0.119 H 259.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2E599C
RGBrgb(46, 89, 156)
HSLhsl(217, 54%, 40%)
HSVhsv(217, 71%, 61%)
CMYKcmyk(70.5%, 42.9%, 0%, 38.8%)
CIE-LABlab(38.07, 8.37, -40.90)
CIE-LCHlch(38.07, 41.75, 281.56°)
OKLaboklab(46.86% -0.0227 -0.1168)
OKLCHoklch(46.86% 0.119 259)
XYZxyz(10.6977, 10.1248, 32.8365)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E599C #9C712E
analogous
#2E909C #2E599C #3A2E9C
triadic
#2E599C #9C2E59 #599C2E
tetradic
#2E599C #9C2E90 #9C712E #2E9C3A
square
#2E599C #9C2E90 #9C712E #2E9C3A
split-complementary
#2E599C #9C3A2E #909C2E
monochromatic
#12233D #203E6D #2E599C #4075C7 #7097D5

Accessibility & contrast

On white

6.94
#2E599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E599C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E599C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E599C#FFFFFF#000000##FFFFFF
##2E599C1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#27559B
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e599c;
/* rgb */ color: rgb(46, 89, 156);
/* oklch */ color: oklch(46.9% 0.119 259.0);
Tailwind
colors: {
  custom: {
    50: '#7487b9',
    500: '#2e599c',
    950: '#000000',
  },
}
SCSS
$custom: #2e599c;
$custom-light: #7487b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e599c",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 216.545,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.11899,
    "h": 259
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#2E599C
secondary
#BC9C6A
accent
#A44ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E599C

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

Preview Lab → · Contrast checker → · Palette generator →

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