#2A5B91#2A5B91

#2A5B91 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.103 H 252.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2A5B91
RGBrgb(42, 91, 145)
HSLhsl(211, 55%, 37%)
HSVhsv(211, 71%, 57%)
CMYKcmyk(71%, 37.2%, 0%, 43.1%)
CIE-LABlab(37.87, 2.28, -34.60)
CIE-LCHlch(37.87, 34.67, 273.77°)
OKLaboklab(46.46% -0.0304 -0.0984)
OKLCHoklch(46.46% 0.103 252.8)
XYZxyz(9.8049, 10.0177, 28.1995)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B91 #91602A
analogous
#2A8F91 #2A5B91 #2D2A91
triadic
#2A5B91 #912A5B #5B912A
tetradic
#2A5B91 #912A8F #91602A #2A912D
square
#2A5B91 #912A8F #91602A #2A912D
split-complementary
#2A5B91 #912D2A #8F912A
monochromatic
#0F1F32 #1C3D62 #2A5B91 #3879C0 #6398D2

Accessibility & contrast

On white

6.99
#2A5B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2A5B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5B91
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B91#FFFFFF#000000##FFFFFF
##2A5B911.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E93
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5b91;
/* rgb */ color: rgb(42, 91, 145);
/* oklch */ color: oklch(46.5% 0.103 252.8);
Tailwind
colors: {
  custom: {
    50: '#7089b1',
    500: '#2a5b91',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b91;
$custom-light: #7089b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b91",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 145
  },
  "hsl": {
    "h": 211.456,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46456,
    "c": 0.10294,
    "h": 252.8
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#2A5B91
secondary
#B88E5F
accent
#9849DE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5B91

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

Preview Lab → · Contrast checker → · Palette generator →

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