#2A5182#2A5182

#2A5182 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.093 H 255.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2A5182
RGBrgb(42, 81, 130)
HSLhsl(213, 51%, 34%)
HSVhsv(213, 68%, 51%)
CMYKcmyk(67.7%, 37.7%, 0%, 49%)
CIE-LABlab(33.96, 3.10, -31.65)
CIE-LCHlch(33.96, 31.80, 275.60°)
OKLaboklab(43.12% -0.0238 -0.0899)
OKLCHoklch(43.12% 0.093 255.1)
XYZxyz(7.9251, 7.9880, 22.2390)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5182 #825B2A
analogous
#2A7D82 #2A5182 #2F2A82
triadic
#2A5182 #822A51 #51822A
tetradic
#2A5182 #822A7D #825B2A #2A822F
square
#2A5182 #822A7D #825B2A #2A822F
split-complementary
#2A5182 #822F2A #7D822A
monochromatic
#0C1725 #1B3454 #2A5182 #396EB0 #5C8DCA

Accessibility & contrast

On white

8.08
#2A5182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A5182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5182
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5182#FFFFFF#000000##FFFFFF
##2A51821.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5182;
/* rgb */ color: rgb(42, 81, 130);
/* oklch */ color: oklch(43.1% 0.093 255.1);
Tailwind
colors: {
  custom: {
    50: '#6d81a6',
    500: '#2a5182',
    950: '#000000',
  },
}
SCSS
$custom: #2a5182;
$custom-light: #6d81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5182",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 213.409,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.09297,
    "h": 255.1
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#2A5182
secondary
#B08958
accent
#9C4DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5182

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

Preview Lab → · Contrast checker → · Palette generator →

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