#2A6182#2A6182

#2A6182 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.1% C 0.079 H 238.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2A6182
RGBrgb(42, 97, 130)
HSLhsl(203, 51%, 34%)
HSVhsv(203, 68%, 51%)
CMYKcmyk(67.7%, 25.4%, 0%, 49%)
CIE-LABlab(38.99, -6.97, -23.75)
CIE-LCHlch(38.99, 24.76, 253.64°)
OKLaboklab(47.08% -0.0417 -0.0667)
OKLCHoklch(47.08% 0.079 238)
XYZxyz(9.2573, 10.6524, 22.6830)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6182 #824B2A
analogous
#2A8277 #2A6182 #2A3582
triadic
#2A6182 #822A61 #61822A
tetradic
#2A6182 #772A82 #824B2A #35822A
square
#2A6182 #772A82 #824B2A #35822A
split-complementary
#2A6182 #822A35 #82772A
monochromatic
#0C1C25 #1B3E54 #2A6182 #3984B0 #5CA1CA

Accessibility & contrast

On white

6.71
#2A6182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6182
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6182#FFFFFF#000000##FFFFFF
##2A61821.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526184
Deuteranopia (green-blind)
#465881
Tritanopia (blue-blind)
#00696C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6182;
/* rgb */ color: rgb(42, 97, 130);
/* oklch */ color: oklch(47.1% 0.079 238.0);
Tailwind
colors: {
  custom: {
    50: '#6e8da6',
    500: '#2a6182',
    950: '#000000',
  },
}
SCSS
$custom: #2a6182;
$custom-light: #6e8da6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6182",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 130
  },
  "hsl": {
    "h": 202.5,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.07869,
    "h": 238
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#2A6182
secondary
#B07958
accent
#824DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A6182

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

Preview Lab → · Contrast checker → · Palette generator →

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