#2A6E9C#2A6E9C

#2A6E9C is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.7% C 0.099 H 242.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2A6E9C
RGBrgb(42, 110, 156)
HSLhsl(204, 58%, 39%)
HSVhsv(204, 73%, 61%)
CMYKcmyk(73.1%, 29.5%, 0%, 38.8%)
CIE-LABlab(44.29, -5.42, -31.06)
CIE-LCHlch(44.29, 31.53, 260.10°)
OKLaboklab(51.69% -0.0466 -0.0878)
OKLCHoklch(51.69% 0.099 242.1)
XYZxyz(12.5292, 14.0430, 33.4963)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E9C #9C582A
analogous
#2A9C91 #2A6E9C #2A359C
triadic
#2A6E9C #9C2A6E #6E9C2A
tetradic
#2A6E9C #912A9C #9C582A #359C2A
square
#2A6E9C #912A9C #9C582A #359C2A
split-complementary
#2A6E9C #9C2A35 #9C912A
monochromatic
#102A3C #1D4C6C #2A6E9C #3990CA #6AABD7

Accessibility & contrast

On white

5.51
#2A6E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2A6E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E9C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E9C#FFFFFF#000000##FFFFFF
##2A6E9C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596F9E
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#00797E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6e9c;
/* rgb */ color: rgb(42, 110, 156);
/* oklch */ color: oklch(51.7% 0.099 242.1);
Tailwind
colors: {
  custom: {
    50: '#7397b9',
    500: '#2a6e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e9c;
$custom-light: #7397b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e9c",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 156
  },
  "hsl": {
    "h": 204.211,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.09937,
    "h": 242.1
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#2A6E9C
secondary
#BD8865
accent
#8547E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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