#2A5B86#2A5B86

#2A5B86 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.8% C 0.088 H 247.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2A5B86
RGBrgb(42, 91, 134)
HSLhsl(208, 52%, 35%)
HSVhsv(208, 69%, 53%)
CMYKcmyk(68.7%, 32.1%, 0%, 47.5%)
CIE-LABlab(37.29, -1.82, -28.85)
CIE-LCHlch(37.29, 28.90, 266.39°)
OKLaboklab(45.81% -0.0336 -0.0816)
OKLCHoklch(45.81% 0.088 247.6)
XYZxyz(8.9974, 9.6947, 23.9467)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B86 #86552A
analogous
#2A8683 #2A5B86 #2A2D86
triadic
#2A5B86 #862A5B #5B862A
tetradic
#2A5B86 #832A86 #86552A #2D862A
square
#2A5B86 #832A86 #86552A #2D862A
split-complementary
#2A5B86 #862A2D #86832A
monochromatic
#0D1C29 #1B3B57 #2A5B86 #397BB5 #5E99CD

Accessibility & contrast

On white

7.14
#2A5B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5B86
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B86#FFFFFF#000000##FFFFFF
##2A5B861.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D88
Deuteranopia (green-blind)
#3B5485
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5b86;
/* rgb */ color: rgb(42, 91, 134);
/* oklch */ color: oklch(45.8% 0.088 247.6);
Tailwind
colors: {
  custom: {
    50: '#6e89a9',
    500: '#2a5b86',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b86;
$custom-light: #6e89a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b86",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 134
  },
  "hsl": {
    "h": 208.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.08823,
    "h": 247.6
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#2A5B86
secondary
#B2835A
accent
#8F4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5B86

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

Preview Lab → · Contrast checker → · Palette generator →

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