#2A5C8F#2A5C8F

#2A5C8F is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.099 H 251.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2A5C8F
RGBrgb(42, 92, 143)
HSLhsl(210, 55%, 36%)
HSVhsv(210, 71%, 56%)
CMYKcmyk(70.6%, 35.7%, 0%, 43.9%)
CIE-LABlab(38.07, 0.89, -33.08)
CIE-LCHlch(38.07, 33.09, 271.55°)
OKLaboklab(46.58% -0.032 -0.0939)
OKLCHoklch(46.58% 0.099 251.2)
XYZxyz(9.7381, 10.1287, 27.4231)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C8F #8F5D2A
analogous
#2A8F8F #2A5C8F #2B2A8F
triadic
#2A5C8F #8F2A5C #5C8F2A
tetradic
#2A5C8F #8F2A8F #8F5D2A #2A8F2B
square
#2A5C8F #8F2A8F #8F5D2A #2A8F2B
split-complementary
#2A5C8F #8F2B2A #8F8F2A
monochromatic
#0E1F30 #1C3E60 #2A5C8F #387ABE #6299D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5C8F#FFFFFF#000000##FFFFFF
##2A5C8F1.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)
#455F91
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5c8f;
/* rgb */ color: rgb(42, 92, 143);
/* oklch */ color: oklch(46.6% 0.099 251.2);
Tailwind
colors: {
  custom: {
    50: '#7089b0',
    500: '#2a5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c8f;
$custom-light: #7089b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c8f",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 210.297,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.09918,
    "h": 251.2
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#2A5C8F
secondary
#B78B5E
accent
#954ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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