#2A5C91#2A5C91

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

Color values

HEX#2A5C91
RGBrgb(42, 92, 145)
HSLhsl(211, 55%, 37%)
HSVhsv(211, 71%, 57%)
CMYKcmyk(71%, 36.6%, 0%, 43.1%)
CIE-LABlab(38.18, 1.64, -34.11)
CIE-LCHlch(38.18, 34.15, 272.76°)
OKLaboklab(46.7% -0.0314 -0.0969)
OKLCHoklch(46.7% 0.102 252)
XYZxyz(9.8909, 10.1898, 28.2281)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C91 #915F2A
analogous
#2A9091 #2A5C91 #2C2A91
triadic
#2A5C91 #912A5C #5C912A
tetradic
#2A5C91 #912A90 #915F2A #2A912C
square
#2A5C91 #912A90 #915F2A #2A912C
split-complementary
#2A5C91 #912C2A #90912A
monochromatic
#0F2032 #1C3E62 #2A5C91 #387AC0 #6399D2

Accessibility & contrast

On white

6.91
#2A5C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2A5C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5C91
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C91#FFFFFF#000000##FFFFFF
##2A5C911.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F93
Deuteranopia (green-blind)
#355590
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5c91;
/* rgb */ color: rgb(42, 92, 145);
/* oklch */ color: oklch(46.7% 0.102 252.0);
Tailwind
colors: {
  custom: {
    50: '#7089b1',
    500: '#2a5c91',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c91;
$custom-light: #7089b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c91",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 145
  },
  "hsl": {
    "h": 210.874,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.10188,
    "h": 252
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#2A5C91
secondary
#B88D5F
accent
#9649DE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5C91

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

Preview Lab → · Contrast checker → · Palette generator →

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