#2A5D91#2A5D91

#2A5D91 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.101 H 251.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2A5D91
RGBrgb(42, 93, 145)
HSLhsl(210, 55%, 37%)
HSVhsv(210, 71%, 57%)
CMYKcmyk(71%, 35.9%, 0%, 43.1%)
CIE-LABlab(38.49, 1.01, -33.63)
CIE-LCHlch(38.49, 33.64, 271.72°)
OKLaboklab(46.94% -0.0325 -0.0955)
OKLCHoklch(46.94% 0.101 251.2)
XYZxyz(9.9781, 10.3642, 28.2572)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D91 #915E2A
analogous
#2A9191 #2A5D91 #2B2A91
triadic
#2A5D91 #912A5D #5D912A
tetradic
#2A5D91 #912A91 #915E2A #2A912B
square
#2A5D91 #912A91 #915E2A #2A912B
split-complementary
#2A5D91 #912B2A #91912A
monochromatic
#0F2032 #1C3F62 #2A5D91 #387BC0 #639AD2

Accessibility & contrast

On white

6.83
#2A5D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A5D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D91
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D91#FFFFFF#000000##FFFFFF
##2A5D911.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466093
Deuteranopia (green-blind)
#375690
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5d91;
/* rgb */ color: rgb(42, 93, 145);
/* oklch */ color: oklch(46.9% 0.101 251.2);
Tailwind
colors: {
  custom: {
    50: '#708ab1',
    500: '#2a5d91',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d91;
$custom-light: #708ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d91",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 210.291,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.10085,
    "h": 251.2
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#2A5D91
secondary
#B88C5F
accent
#9549DE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2A5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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