#2A5D8A#2A5D8A

#2A5D8A is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.5% C 0.092 H 247.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2A5D8A
RGBrgb(42, 93, 138)
HSLhsl(208, 53%, 35%)
HSVhsv(208, 70%, 54%)
CMYKcmyk(69.6%, 32.6%, 0%, 45.9%)
CIE-LABlab(38.12, -1.60, -29.97)
CIE-LCHlch(38.12, 30.02, 266.95°)
OKLaboklab(46.53% -0.0345 -0.0848)
OKLCHoklch(46.53% 0.092 247.8)
XYZxyz(9.4549, 10.1549, 25.5016)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D8A #8A572A
analogous
#2A8A87 #2A5D8A #2A2D8A
triadic
#2A5D8A #8A2A5D #5D8A2A
tetradic
#2A5D8A #872A8A #8A572A #2D8A2A
square
#2A5D8A #872A8A #8A572A #2D8A2A
split-complementary
#2A5D8A #8A2A2D #8A872A
monochromatic
#0D1E2C #1C3D5B #2A5D8A #387DB9 #609BCF

Accessibility & contrast

On white

6.93
#2A5D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5D8A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D8A#FFFFFF#000000##FFFFFF
##2A5D8A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5d8a;
/* rgb */ color: rgb(42, 93, 138);
/* oklch */ color: oklch(46.5% 0.092 247.8);
Tailwind
colors: {
  custom: {
    50: '#6f8aac',
    500: '#2a5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d8a;
$custom-light: #6f8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d8a",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 208.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.09159,
    "h": 247.8
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#2A5D8A
secondary
#B4855B
accent
#8F4BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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