#2A5B9D#2A5B9D

#2A5B9D is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.2% C 0.119 H 256.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2A5B9D
RGBrgb(42, 91, 157)
HSLhsl(214, 58%, 39%)
HSVhsv(214, 73%, 62%)
CMYKcmyk(73.2%, 42%, 0%, 38.4%)
CIE-LABlab(38.56, 6.83, -40.72)
CIE-LCHlch(38.56, 41.29, 279.53°)
OKLaboklab(47.22% -0.0274 -0.1163)
OKLCHoklch(47.22% 0.119 256.7)
XYZxyz(10.7795, 10.4076, 33.3325)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B9D #9D6C2A
analogous
#2A959D #2A5B9D #332A9D
triadic
#2A5B9D #9D2A5B #5B9D2A
tetradic
#2A5B9D #9D2A95 #9D6C2A #2A9D33
square
#2A5B9D #9D2A95 #9D6C2A #2A9D33
split-complementary
#2A5B9D #9D332A #959D2A
monochromatic
#10233C #1D3F6D #2A5B9D #3A77CA #6A99D7

Accessibility & contrast

On white

6.81
#2A5B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A5B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5B9D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B9D#FFFFFF#000000##FFFFFF
##2A5B9D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C61A0
Deuteranopia (green-blind)
#28569C
Tritanopia (blue-blind)
#006A74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5b9d;
/* rgb */ color: rgb(42, 91, 157);
/* oklch */ color: oklch(47.2% 0.119 256.7);
Tailwind
colors: {
  custom: {
    50: '#7388ba',
    500: '#2a5b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b9d;
$custom-light: #7388ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b9d",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 157
  },
  "hsl": {
    "h": 214.435,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.11948,
    "h": 256.7
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#2A5B9D
secondary
#BE9865
accent
#9F47E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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