#2A6582#2A6582

#2A6582 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.1% C 0.077 H 232.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2A6582
RGBrgb(42, 101, 130)
HSLhsl(200, 51%, 34%)
HSVhsv(200, 68%, 51%)
CMYKcmyk(67.7%, 22.3%, 0%, 49%)
CIE-LABlab(40.26, -9.37, -21.78)
CIE-LCHlch(40.26, 23.71, 246.72°)
OKLaboklab(48.1% -0.0462 -0.061)
OKLCHoklch(48.1% 0.077 232.9)
XYZxyz(9.6362, 11.4103, 22.8093)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6582 #82472A
analogous
#2A8273 #2A6582 #2A3982
triadic
#2A6582 #822A65 #65822A
tetradic
#2A6582 #732A82 #82472A #39822A
square
#2A6582 #732A82 #82472A #39822A
split-complementary
#2A6582 #822A39 #82732A
monochromatic
#0C1D25 #1B4154 #2A6582 #3989B0 #5CA6CA

Accessibility & contrast

On white

6.40
#2A6582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2A6582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6582
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6582#FFFFFF#000000##FFFFFF
##2A65821.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576483
Deuteranopia (green-blind)
#4B5B82
Tritanopia (blue-blind)
#006D6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6582;
/* rgb */ color: rgb(42, 101, 130);
/* oklch */ color: oklch(48.1% 0.077 232.9);
Tailwind
colors: {
  custom: {
    50: '#6e90a6',
    500: '#2a6582',
    950: '#000000',
  },
}
SCSS
$custom: #2a6582;
$custom-light: #6e90a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6582",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 130
  },
  "hsl": {
    "h": 199.773,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.07652,
    "h": 232.9
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#2A6582
secondary
#B07558
accent
#7C4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A6582

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

Preview Lab → · Contrast checker → · Palette generator →

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