#2A5B8F#2A5B8F

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

Color values

HEX#2A5B8F
RGBrgb(42, 91, 143)
HSLhsl(211, 55%, 36%)
HSVhsv(211, 71%, 56%)
CMYKcmyk(70.6%, 36.4%, 0%, 43.9%)
CIE-LABlab(37.76, 1.53, -33.56)
CIE-LCHlch(37.76, 33.60, 272.61°)
OKLaboklab(46.33% -0.031 -0.0953)
OKLCHoklch(46.33% 0.1 252)
XYZxyz(9.6520, 9.9566, 27.3944)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B8F #8F5E2A
analogous
#2A8E8F #2A5B8F #2C2A8F
triadic
#2A5B8F #8F2A5B #5B8F2A
tetradic
#2A5B8F #8F2A8E #8F5E2A #2A8F2C
square
#2A5B8F #8F2A8E #8F5E2A #2A8F2C
split-complementary
#2A5B8F #8F2C2A #8E8F2A
monochromatic
#0E1F30 #1C3D60 #2A5B8F #3879BE #6298D1

Accessibility & contrast

On white

7.02
#2A5B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2A5B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B8F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B8F#FFFFFF#000000##FFFFFF
##2A5B8F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#35558E
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5b8f;
/* rgb */ color: rgb(42, 91, 143);
/* oklch */ color: oklch(46.3% 0.100 252.0);
Tailwind
colors: {
  custom: {
    50: '#7089b0',
    500: '#2a5b8f',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b8f;
$custom-light: #7089b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b8f",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 143
  },
  "hsl": {
    "h": 210.891,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.10022,
    "h": 252
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#2A5B8F
secondary
#B78C5E
accent
#964ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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