#2A5B87#2A5B87

#2A5B87 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.090 H 248.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2A5B87
RGBrgb(42, 91, 135)
HSLhsl(208, 53%, 35%)
HSVhsv(208, 69%, 53%)
CMYKcmyk(68.9%, 32.6%, 0%, 47.1%)
CIE-LABlab(37.34, -1.45, -29.38)
CIE-LCHlch(37.34, 29.41, 267.18°)
OKLaboklab(45.86% -0.0333 -0.0831)
OKLCHoklch(45.86% 0.09 248.2)
XYZxyz(9.0675, 9.7227, 24.3158)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B87 #87562A
analogous
#2A8784 #2A5B87 #2A2D87
triadic
#2A5B87 #872A5B #5B872A
tetradic
#2A5B87 #842A87 #87562A #2D872A
square
#2A5B87 #842A87 #87562A #2D872A
split-complementary
#2A5B87 #872A2D #87842A
monochromatic
#0D1C2A #1B3C58 #2A5B87 #397AB6 #5E99CD

Accessibility & contrast

On white

7.13
#2A5B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A5B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B87
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B87#FFFFFF#000000##FFFFFF
##2A5B871.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5b87;
/* rgb */ color: rgb(42, 91, 135);
/* oklch */ color: oklch(45.9% 0.090 248.2);
Tailwind
colors: {
  custom: {
    50: '#6e89aa',
    500: '#2a5b87',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b87;
$custom-light: #6e89aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b87",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 208.387,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45862,
    "c": 0.08953,
    "h": 248.2
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#2A5B87
secondary
#B3845A
accent
#904CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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