#2A599B#2A599B

#2A599B is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.6% C 0.119 H 257.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2A599B
RGBrgb(42, 89, 155)
HSLhsl(215, 57%, 39%)
HSVhsv(215, 73%, 61%)
CMYKcmyk(72.9%, 42.6%, 0%, 39.2%)
CIE-LABlab(37.85, 7.37, -40.66)
CIE-LCHlch(37.85, 41.33, 280.27°)
OKLaboklab(46.62% -0.026 -0.1162)
OKLCHoklch(46.62% 0.119 257.4)
XYZxyz(10.4415, 10.0024, 32.3844)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A599B #9B6C2A
analogous
#2A919B #2A599B #332A9B
triadic
#2A599B #9B2A59 #599B2A
tetradic
#2A599B #9B2A91 #9B6C2A #2A9B33
square
#2A599B #9B2A91 #9B6C2A #2A9B33
split-complementary
#2A599B #9B332A #919B2A
monochromatic
#10223B #1D3D6B #2A599B #3975C9 #6997D6

Accessibility & contrast

On white

7.00
#2A599B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2A599B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A599B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A599B#FFFFFF#000000##FFFFFF
##2A599B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#26549A
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a599b;
/* rgb */ color: rgb(42, 89, 155);
/* oklch */ color: oklch(46.6% 0.119 257.4);
Tailwind
colors: {
  custom: {
    50: '#7287b9',
    500: '#2a599b',
    950: '#000000',
  },
}
SCSS
$custom: #2a599b;
$custom-light: #7287b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a599b",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 155
  },
  "hsl": {
    "h": 215.044,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.11903,
    "h": 257.4
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A599B

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

Preview Lab → · Contrast checker → · Palette generator →

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