#2A599C#2A599C

#2A599C is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.120 H 257.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2A599C
RGBrgb(42, 89, 156)
HSLhsl(215, 58%, 39%)
HSVhsv(215, 73%, 61%)
CMYKcmyk(73.1%, 42.9%, 0%, 38.8%)
CIE-LABlab(37.91, 7.75, -41.17)
CIE-LCHlch(37.91, 41.89, 280.66°)
OKLaboklab(46.69% -0.0257 -0.1176)
OKLCHoklch(46.69% 0.12 257.7)
XYZxyz(10.5258, 10.0362, 32.8285)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A599C #9C6D2A
analogous
#2A929C #2A599C #342A9C
triadic
#2A599C #9C2A59 #599C2A
tetradic
#2A599C #9C2A92 #9C6D2A #2A9C34
square
#2A599C #9C2A92 #9C6D2A #2A9C34
split-complementary
#2A599C #9C342A #929C2A
monochromatic
#10223C #1D3D6C #2A599C #3975CA #6A97D7

Accessibility & contrast

On white

6.98
#2A599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A599C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A599C#FFFFFF#000000##FFFFFF
##2A599C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#25549B
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a599c;
/* rgb */ color: rgb(42, 89, 156);
/* oklch */ color: oklch(46.7% 0.120 257.7);
Tailwind
colors: {
  custom: {
    50: '#7387b9',
    500: '#2a599c',
    950: '#000000',
  },
}
SCSS
$custom: #2a599c;
$custom-light: #7387b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a599c",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 215.263,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.12043,
    "h": 257.7
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#2A599C
secondary
#BD9965
accent
#A147E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A599C

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

Preview Lab → · Contrast checker → · Palette generator →

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