#2A5B8A#2A5B8A

#2A5B8A is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.0% C 0.093 H 249.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2A5B8A
RGBrgb(42, 91, 138)
HSLhsl(209, 53%, 35%)
HSVhsv(209, 70%, 54%)
CMYKcmyk(69.6%, 34.1%, 0%, 45.9%)
CIE-LABlab(37.50, -0.34, -30.95)
CIE-LCHlch(37.50, 30.96, 269.38°)
OKLaboklab(46.04% -0.0324 -0.0877)
OKLCHoklch(46.04% 0.093 249.7)
XYZxyz(9.2817, 9.8084, 25.4439)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B8A #8A592A
analogous
#2A8A89 #2A5B8A #2A2B8A
triadic
#2A5B8A #8A2A5B #5B8A2A
tetradic
#2A5B8A #892A8A #8A592A #2B8A2A
square
#2A5B8A #892A8A #8A592A #2B8A2A
split-complementary
#2A5B8A #8A2A2B #8A892A
monochromatic
#0D1D2C #1C3C5B #2A5B8A #387AB9 #6098CF

Accessibility & contrast

On white

7.09
#2A5B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2A5B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B8A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B8A#FFFFFF#000000##FFFFFF
##2A5B8A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5b8a;
/* rgb */ color: rgb(42, 91, 138);
/* oklch */ color: oklch(46.0% 0.093 249.7);
Tailwind
colors: {
  custom: {
    50: '#6f89ac',
    500: '#2a5b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b8a;
$custom-light: #6f89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b8a",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 209.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.09349,
    "h": 249.7
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#2A5B8A
secondary
#B4875B
accent
#924BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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