#2A5C8A#2A5C8A

#2A5C8A is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.3% C 0.093 H 248.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2A5C8A
RGBrgb(42, 92, 138)
HSLhsl(209, 53%, 35%)
HSVhsv(209, 70%, 54%)
CMYKcmyk(69.6%, 33.3%, 0%, 45.9%)
CIE-LABlab(37.81, -0.97, -30.46)
CIE-LCHlch(37.81, 30.48, 268.18°)
OKLaboklab(46.28% -0.0335 -0.0863)
OKLCHoklch(46.28% 0.093 248.8)
XYZxyz(9.3677, 9.9805, 25.4726)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C8A #8A582A
analogous
#2A8A88 #2A5C8A #2A2C8A
triadic
#2A5C8A #8A2A5C #5C8A2A
tetradic
#2A5C8A #882A8A #8A582A #2C8A2A
square
#2A5C8A #882A8A #8A582A #2C8A2A
split-complementary
#2A5C8A #8A2A2C #8A882A
monochromatic
#0D1D2C #1C3D5B #2A5C8A #387BB9 #609ACF

Accessibility & contrast

On white

7.01
#2A5C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5C8A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C8A#FFFFFF#000000##FFFFFF
##2A5C8A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5c8a;
/* rgb */ color: rgb(42, 92, 138);
/* oklch */ color: oklch(46.3% 0.093 248.8);
Tailwind
colors: {
  custom: {
    50: '#6f89ac',
    500: '#2a5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c8a;
$custom-light: #6f89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c8a",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 208.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.09253,
    "h": 248.8
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#2A5C8A
secondary
#B4865B
accent
#914BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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