#2A6282#2A6282

#2A6282 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.3% C 0.078 H 236.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2A6282
RGBrgb(42, 98, 130)
HSLhsl(202, 51%, 34%)
HSVhsv(202, 68%, 51%)
CMYKcmyk(67.7%, 24.6%, 0%, 49%)
CIE-LABlab(39.31, -7.58, -23.26)
CIE-LCHlch(39.31, 24.46, 251.96°)
OKLaboklab(47.34% -0.0428 -0.0653)
OKLCHoklch(47.34% 0.078 236.8)
XYZxyz(9.3502, 10.8383, 22.7140)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6282 #824A2A
analogous
#2A8276 #2A6282 #2A3682
triadic
#2A6282 #822A62 #62822A
tetradic
#2A6282 #762A82 #824A2A #36822A
square
#2A6282 #762A82 #824A2A #36822A
split-complementary
#2A6282 #822A36 #82762A
monochromatic
#0C1C25 #1B3F54 #2A6282 #3985B0 #5CA2CA

Accessibility & contrast

On white

6.63
#2A6282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A6282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6282
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6282#FFFFFF#000000##FFFFFF
##2A62821.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536184
Deuteranopia (green-blind)
#475981
Tritanopia (blue-blind)
#006A6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6282;
/* rgb */ color: rgb(42, 98, 130);
/* oklch */ color: oklch(47.3% 0.078 236.8);
Tailwind
colors: {
  custom: {
    50: '#6e8ea6',
    500: '#2a6282',
    950: '#000000',
  },
}
SCSS
$custom: #2a6282;
$custom-light: #6e8ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6282",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 130
  },
  "hsl": {
    "h": 201.818,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.07809,
    "h": 236.8
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#2A6282
secondary
#B07858
accent
#814DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A6282

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

Preview Lab → · Contrast checker → · Palette generator →

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