#2A617B#2A617B

#2A617B is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 46.7% C 0.071 H 231.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2A617B
RGBrgb(42, 97, 123)
HSLhsl(199, 49%, 32%)
HSVhsv(199, 66%, 48%)
CMYKcmyk(65.9%, 21.1%, 0%, 51.8%)
CIE-LABlab(38.67, -9.44, -19.97)
CIE-LCHlch(38.67, 22.09, 244.70°)
OKLaboklab(46.73% -0.0443 -0.0559)
OKLCHoklch(46.73% 0.071 231.6)
XYZxyz(8.8033, 10.4708, 20.2922)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A617B #7B442A
analogous
#2A7B6C #2A617B #2A397B
triadic
#2A617B #7B2A61 #617B2A
tetradic
#2A617B #6C2A7B #7B442A #397B2A
square
#2A617B #6C2A7B #7B442A #397B2A
split-complementary
#2A617B #7B2A39 #7B6C2A
monochromatic
#0B1920 #1A3D4D #2A617B #3A85A9 #59A3C6

Accessibility & contrast

On white

6.79
#2A617B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2A617B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A617B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A617B#FFFFFF#000000##FFFFFF
##2A617B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607C
Deuteranopia (green-blind)
#49577B
Tritanopia (blue-blind)
#00686A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a617b;
/* rgb */ color: rgb(42, 97, 123);
/* oklch */ color: oklch(46.7% 0.071 231.6);
Tailwind
colors: {
  custom: {
    50: '#6d8da1',
    500: '#2a617b',
    950: '#000000',
  },
}
SCSS
$custom: #2a617b;
$custom-light: #6d8da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a617b",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 123
  },
  "hsl": {
    "h": 199.259,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.07132,
    "h": 231.6
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#2A617B
secondary
#AC7155
accent
#7B4FD9
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #2A617B

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

Preview Lab → · Contrast checker → · Palette generator →

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