#2A599E#2A599E

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

Color values

HEX#2A599E
RGBrgb(42, 89, 158)
HSLhsl(216, 58%, 39%)
HSVhsv(216, 73%, 62%)
CMYKcmyk(73.4%, 43.7%, 0%, 38%)
CIE-LABlab(38.03, 8.52, -42.17)
CIE-LCHlch(38.03, 43.02, 281.42°)
OKLaboklab(46.82% -0.0253 -0.1206)
OKLCHoklch(46.82% 0.123 258.1)
XYZxyz(10.6965, 10.1045, 33.7277)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A599E #9E6F2A
analogous
#2A939E #2A599E #352A9E
triadic
#2A599E #9E2A59 #599E2A
tetradic
#2A599E #9E2A93 #9E6F2A #2A9E35
square
#2A599E #9E2A93 #9E6F2A #2A9E35
split-complementary
#2A599E #9E352A #939E2A
monochromatic
#10233D #1D3E6E #2A599E #3A75CB #6B97D8

Accessibility & contrast

On white

6.95
#2A599E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2A599E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A599E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A599E#FFFFFF#000000##FFFFFF
##2A599E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#23559D
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a599e;
/* rgb */ color: rgb(42, 89, 158);
/* oklch */ color: oklch(46.8% 0.123 258.1);
Tailwind
colors: {
  custom: {
    50: '#7387bb',
    500: '#2a599e',
    950: '#000000',
  },
}
SCSS
$custom: #2a599e;
$custom-light: #7387bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a599e",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 158
  },
  "hsl": {
    "h": 215.69,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46823,
    "c": 0.12322,
    "h": 258.1
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#2A599E
secondary
#BE9A66
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A599E

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

Preview Lab → · Contrast checker → · Palette generator →

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