#2E599D#2E599D

#2E599D is a mid, vivid blue. Relative luminance 0.102; OKLCH L 46.9% C 0.120 H 259.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2E599D
RGBrgb(46, 89, 157)
HSLhsl(217, 55%, 40%)
HSVhsv(217, 71%, 62%)
CMYKcmyk(70.7%, 43.3%, 0%, 38.4%)
CIE-LABlab(38.13, 8.75, -41.41)
CIE-LCHlch(38.13, 42.32, 281.93°)
OKLaboklab(46.92% -0.0225 -0.1183)
OKLCHoklch(46.92% 0.12 259.2)
XYZxyz(10.7827, 10.1588, 33.2843)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E599D #9D722E
analogous
#2E909D #2E599D #3B2E9D
triadic
#2E599D #9D2E59 #599D2E
tetradic
#2E599D #9D2E90 #9D722E #2E9D3B
square
#2E599D #9D2E90 #9D722E #2E9D3B
split-complementary
#2E599D #9D3B2E #909D2E
monochromatic
#12233E #203E6E #2E599D #4175C7 #7097D5

Accessibility & contrast

On white

6.93
#2E599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E599D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E599D#FFFFFF#000000##FFFFFF
##2E599D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395FA0
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e599d;
/* rgb */ color: rgb(46, 89, 157);
/* oklch */ color: oklch(46.9% 0.120 259.2);
Tailwind
colors: {
  custom: {
    50: '#7487ba',
    500: '#2e599d',
    950: '#000000',
  },
}
SCSS
$custom: #2e599d;
$custom-light: #7487ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e599d",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 216.757,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.12041,
    "h": 259.2
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#2E599D
secondary
#BD9D6A
accent
#A54ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E599D

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

Preview Lab → · Contrast checker → · Palette generator →

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