#2A6F9E#2A6F9E

#2A6F9E is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.101 H 242.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A6F9E
RGBrgb(42, 111, 158)
HSLhsl(204, 58%, 39%)
HSVhsv(204, 73%, 62%)
CMYKcmyk(73.4%, 29.7%, 0%, 38%)
CIE-LABlab(44.70, -5.29, -31.60)
CIE-LCHlch(44.70, 32.04, 260.49°)
OKLaboklab(52.05% -0.0469 -0.0893)
OKLCHoklch(52.05% 0.101 242.3)
XYZxyz(12.8085, 14.3283, 34.4317)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F9E #9E592A
analogous
#2A9E93 #2A6F9E #2A359E
triadic
#2A6F9E #9E2A6F #6F9E2A
tetradic
#2A6F9E #932A9E #9E592A #359E2A
square
#2A6F9E #932A9E #9E592A #359E2A
split-complementary
#2A6F9E #9E2A35 #9E932A
monochromatic
#102B3D #1D4D6E #2A6F9E #3A90CB #6BACD8

Accessibility & contrast

On white

5.43
#2A6F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A6F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F9E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F9E#FFFFFF#000000##FFFFFF
##2A6F9E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5970A0
Deuteranopia (green-blind)
#49659D
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6f9e;
/* rgb */ color: rgb(42, 111, 158);
/* oklch */ color: oklch(52.0% 0.101 242.3);
Tailwind
colors: {
  custom: {
    50: '#7398bb',
    500: '#2a6f9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f9e;
$custom-light: #7398bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f9e",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 158
  },
  "hsl": {
    "h": 204.31,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.10092,
    "h": 242.3
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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