#2A599F#2A599F

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

Color values

HEX#2A599F
RGBrgb(42, 89, 159)
HSLhsl(216, 58%, 39%)
HSVhsv(216, 74%, 62%)
CMYKcmyk(73.6%, 44%, 0%, 37.6%)
CIE-LABlab(38.09, 8.90, -42.67)
CIE-LCHlch(38.09, 43.59, 281.78°)
OKLaboklab(46.89% -0.0251 -0.1221)
OKLCHoklch(46.89% 0.125 258.4)
XYZxyz(10.7830, 10.1390, 34.1829)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A599F #9F702A
analogous
#2A949F #2A599F #352A9F
triadic
#2A599F #9F2A59 #599F2A
tetradic
#2A599F #9F2A94 #9F702A #2A9F35
square
#2A599F #9F2A94 #9F702A #2A9F35
split-complementary
#2A599F #9F352A #949F2A
monochromatic
#10233E #1D3E6F #2A599F #3B75CB #6B97D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A599F#FFFFFF#000000##FFFFFF
##2A599F1.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)
#375FA2
Deuteranopia (green-blind)
#21559E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a599f;
/* rgb */ color: rgb(42, 89, 159);
/* oklch */ color: oklch(46.9% 0.125 258.4);
Tailwind
colors: {
  custom: {
    50: '#7387bc',
    500: '#2a599f',
    950: '#000000',
  },
}
SCSS
$custom: #2a599f;
$custom-light: #7387bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a599f",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 215.897,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.12462,
    "h": 258.4
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#2A599F
secondary
#BF9B66
accent
#A346E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A599F

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

Preview Lab → · Contrast checker → · Palette generator →

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