#2A617F#2A617F

#2A617F is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 46.9% C 0.075 H 235.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2A617F
RGBrgb(42, 97, 127)
HSLhsl(201, 50%, 33%)
HSVhsv(201, 67%, 50%)
CMYKcmyk(66.9%, 23.6%, 0%, 50.2%)
CIE-LABlab(38.85, -8.04, -22.14)
CIE-LCHlch(38.85, 23.55, 250.05°)
OKLaboklab(46.93% -0.0428 -0.0621)
OKLCHoklch(46.93% 0.075 235.4)
XYZxyz(9.0588, 10.5730, 21.6379)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A617F #7F482A
analogous
#2A7F72 #2A617F #2A377F
triadic
#2A617F #7F2A61 #617F2A
tetradic
#2A617F #722A7F #7F482A #377F2A
square
#2A617F #722A7F #7F482A #377F2A
split-complementary
#2A617F #7F2A37 #7F722A
monochromatic
#0C1B23 #1B3E51 #2A617F #3984AD #5BA2C9

Accessibility & contrast

On white

6.74
#2A617F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2A617F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A617F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A617F#FFFFFF#000000##FFFFFF
##2A617F1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536080
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#00696B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a617f;
/* rgb */ color: rgb(42, 97, 127);
/* oklch */ color: oklch(46.9% 0.075 235.4);
Tailwind
colors: {
  custom: {
    50: '#6d8da4',
    500: '#2a617f',
    950: '#000000',
  },
}
SCSS
$custom: #2a617f;
$custom-light: #6d8da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a617f",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 127
  },
  "hsl": {
    "h": 201.176,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.07541,
    "h": 235.4
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#2A617F
secondary
#AE7557
accent
#7F4EDA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A617F

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

Preview Lab → · Contrast checker → · Palette generator →

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