#2A599D#2A599D

#2A599D is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.8% C 0.122 H 257.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2A599D
RGBrgb(42, 89, 157)
HSLhsl(215, 58%, 39%)
HSVhsv(215, 73%, 62%)
CMYKcmyk(73.2%, 43.3%, 0%, 38.4%)
CIE-LABlab(37.97, 8.13, -41.67)
CIE-LCHlch(37.97, 42.45, 281.04°)
OKLaboklab(46.76% -0.0255 -0.1191)
OKLCHoklch(46.76% 0.122 257.9)
XYZxyz(10.6108, 10.0702, 33.2763)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A599D #9D6E2A
analogous
#2A939D #2A599D #342A9D
triadic
#2A599D #9D2A59 #599D2A
tetradic
#2A599D #9D2A93 #9D6E2A #2A9D34
square
#2A599D #9D2A93 #9D6E2A #2A9D34
split-complementary
#2A599D #9D342A #939D2A
monochromatic
#10223C #1D3E6D #2A599D #3A75CA #6A97D7

Accessibility & contrast

On white

6.97
#2A599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A599D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A599D#FFFFFF#000000##FFFFFF
##2A599D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#24549C
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a599d;
/* rgb */ color: rgb(42, 89, 157);
/* oklch */ color: oklch(46.8% 0.122 257.9);
Tailwind
colors: {
  custom: {
    50: '#7387ba',
    500: '#2a599d',
    950: '#000000',
  },
}
SCSS
$custom: #2a599d;
$custom-light: #7387ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a599d",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 215.478,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.12183,
    "h": 257.9
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#2A599D
secondary
#BE9965
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A599D

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

Preview Lab → · Contrast checker → · Palette generator →

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