#2A5C8D#2A5C8D

#2A5C8D is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.097 H 250.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2A5C8D
RGBrgb(42, 92, 141)
HSLhsl(210, 54%, 36%)
HSVhsv(210, 70%, 55%)
CMYKcmyk(70.2%, 34.8%, 0%, 44.7%)
CIE-LABlab(37.97, 0.15, -32.03)
CIE-LCHlch(37.97, 32.03, 270.26°)
OKLaboklab(46.46% -0.0326 -0.0908)
OKLCHoklch(46.46% 0.097 250.3)
XYZxyz(9.5879, 10.0686, 26.6323)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C8D #8D5B2A
analogous
#2A8D8C #2A5C8D #2A2A8D
triadic
#2A5C8D #8D2A5C #5C8D2A
tetradic
#2A5C8D #8C2A8D #8D5B2A #2A8D2A
square
#2A5C8D #8C2A8D #8D5B2A #2A8D2A
split-complementary
#2A5C8D #8D2A2A #8D8C2A
monochromatic
#0E1E2F #1C3D5E #2A5C8D #387BBC #6199D0

Accessibility & contrast

On white

6.97
#2A5C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5C8D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C8D#FFFFFF#000000##FFFFFF
##2A5C8D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F8F
Deuteranopia (green-blind)
#38558C
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5c8d;
/* rgb */ color: rgb(42, 92, 141);
/* oklch */ color: oklch(46.5% 0.097 250.3);
Tailwind
colors: {
  custom: {
    50: '#7089ae',
    500: '#2a5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c8d;
$custom-light: #7089ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c8d",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 209.697,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46456,
    "c": 0.09651,
    "h": 250.3
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#2A5C8D
secondary
#B6895D
accent
#934ADD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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