#2A5D8F#2A5D8F

#2A5D8F is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.098 H 250.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2A5D8F
RGBrgb(42, 93, 143)
HSLhsl(210, 55%, 36%)
HSVhsv(210, 71%, 56%)
CMYKcmyk(70.6%, 35%, 0%, 43.9%)
CIE-LABlab(38.38, 0.26, -32.59)
CIE-LCHlch(38.38, 32.59, 270.46°)
OKLaboklab(46.82% -0.0331 -0.0924)
OKLCHoklch(46.82% 0.098 250.3)
XYZxyz(9.8253, 10.3031, 27.4522)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D8F #8F5C2A
analogous
#2A8F8F #2A5D8F #2A2B8F
triadic
#2A5D8F #8F2A5D #5D8F2A
tetradic
#2A5D8F #8F2A8F #8F5C2A #2B8F2A
square
#2A5D8F #8F2A8F #8F5C2A #2B8F2A
split-complementary
#2A5D8F #8F2A2B #8F8F2A
monochromatic
#0E1F30 #1C3E60 #2A5D8F #387CBE #629AD1

Accessibility & contrast

On white

6.86
#2A5D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2A5D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D8F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D8F#FFFFFF#000000##FFFFFF
##2A5D8F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#38568E
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5d8f;
/* rgb */ color: rgb(42, 93, 143);
/* oklch */ color: oklch(46.8% 0.098 250.3);
Tailwind
colors: {
  custom: {
    50: '#708ab0',
    500: '#2a5d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d8f;
$custom-light: #708ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d8f",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 143
  },
  "hsl": {
    "h": 209.703,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46817,
    "c": 0.09817,
    "h": 250.3
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#2A5D8F
secondary
#B78A5E
accent
#934ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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