#2A5A8A#2A5A8A

#2A5A8A is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.094 H 250.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2A5A8A
RGBrgb(42, 90, 138)
HSLhsl(210, 53%, 35%)
HSVhsv(210, 70%, 54%)
CMYKcmyk(69.6%, 34.8%, 0%, 45.9%)
CIE-LABlab(37.19, 0.30, -31.44)
CIE-LCHlch(37.19, 31.44, 270.54°)
OKLaboklab(45.79% -0.0313 -0.0891)
OKLCHoklch(45.79% 0.094 250.6)
XYZxyz(9.1968, 9.6386, 25.4156)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A8A #8A5A2A
analogous
#2A8A8A #2A5A8A #2A2A8A
triadic
#2A5A8A #8A2A5A #5A8A2A
tetradic
#2A5A8A #8A2A8A #8A5A2A #2A8A2A
square
#2A5A8A #8A2A8A #8A5A2A #2A8A2A
split-complementary
#2A5A8A #8A2A2A #8A8A2A
monochromatic
#0D1D2C #1C3B5B #2A5A8A #3879B9 #6097CF

Accessibility & contrast

On white

7.17
#2A5A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A5A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5A8A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A8A#FFFFFF#000000##FFFFFF
##2A5A8A1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5a8a;
/* rgb */ color: rgb(42, 90, 138);
/* oklch */ color: oklch(45.8% 0.094 250.6);
Tailwind
colors: {
  custom: {
    50: '#6f88ac',
    500: '#2a5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a8a;
$custom-light: #6f88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a8a",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 210,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.09449,
    "h": 250.6
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#2A5A8A
secondary
#B4885B
accent
#944BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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