#2A6E97#2A6E97

#2A6E97 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.4% C 0.094 H 239.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A6E97
RGBrgb(42, 110, 151)
HSLhsl(203, 56%, 38%)
HSVhsv(203, 72%, 59%)
CMYKcmyk(72.2%, 27.2%, 0%, 40.8%)
CIE-LABlab(44.06, -7.23, -28.47)
CIE-LCHlch(44.06, 29.37, 255.74°)
OKLaboklab(51.43% -0.0483 -0.0803)
OKLCHoklch(51.43% 0.094 239)
XYZxyz(12.1145, 13.8771, 31.3122)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E97 #97532A
analogous
#2A978A #2A6E97 #2A3797
triadic
#2A6E97 #972A6E #6E972A
tetradic
#2A6E97 #8A2A97 #97532A #37972A
square
#2A6E97 #8A2A97 #97532A #37972A
split-complementary
#2A6E97 #972A37 #978A2A
monochromatic
#0F2837 #1D4B67 #2A6E97 #3791C7 #67ABD5

Accessibility & contrast

On white

5.56
#2A6E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A6E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E97
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E97#FFFFFF#000000##FFFFFF
##2A6E971.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#00787C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6e97;
/* rgb */ color: rgb(42, 110, 151);
/* oklch */ color: oklch(51.4% 0.094 239.0);
Tailwind
colors: {
  custom: {
    50: '#7297b5',
    500: '#2a6e97',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e97;
$custom-light: #7297b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e97",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 151
  },
  "hsl": {
    "h": 202.569,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.09365,
    "h": 239
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#2A6E97
secondary
#BB8362
accent
#8148E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6E97

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

Preview Lab → · Contrast checker → · Palette generator →

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