#2A6281#2A6281

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

Color values

HEX#2A6281
RGBrgb(42, 98, 129)
HSLhsl(201, 51%, 34%)
HSVhsv(201, 67%, 51%)
CMYKcmyk(67.4%, 24%, 0%, 49.4%)
CIE-LABlab(39.26, -7.93, -22.72)
CIE-LCHlch(39.26, 24.07, 250.76°)
OKLaboklab(47.29% -0.0432 -0.0638)
OKLCHoklch(47.29% 0.077 235.9)
XYZxyz(9.2834, 10.8116, 22.3622)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6281 #81492A
analogous
#2A8174 #2A6281 #2A3681
triadic
#2A6281 #812A62 #62812A
tetradic
#2A6281 #742A81 #81492A #36812A
square
#2A6281 #742A81 #81492A #36812A
split-complementary
#2A6281 #812A36 #81742A
monochromatic
#0C1C25 #1B3F53 #2A6281 #3985AF #5CA3CA

Accessibility & contrast

On white

6.64
#2A6281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2A6281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6281
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6281#FFFFFF#000000##FFFFFF
##2A62811.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536182
Deuteranopia (green-blind)
#475980
Tritanopia (blue-blind)
#006A6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6281;
/* rgb */ color: rgb(42, 98, 129);
/* oklch */ color: oklch(47.3% 0.077 235.9);
Tailwind
colors: {
  custom: {
    50: '#6e8ea5',
    500: '#2a6281',
    950: '#000000',
  },
}
SCSS
$custom: #2a6281;
$custom-light: #6e8ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6281",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 129
  },
  "hsl": {
    "h": 201.379,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.077,
    "h": 235.9
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#2A6281
secondary
#AF7757
accent
#804DDA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A6281

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

Preview Lab → · Contrast checker → · Palette generator →

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