#2A6F9D#2A6F9D

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

Color values

HEX#2A6F9D
RGBrgb(42, 111, 157)
HSLhsl(204, 58%, 39%)
HSVhsv(204, 73%, 62%)
CMYKcmyk(73.2%, 29.3%, 0%, 38.4%)
CIE-LABlab(44.65, -5.66, -31.09)
CIE-LCHlch(44.65, 31.60, 259.68°)
OKLaboklab(51.99% -0.0473 -0.0879)
OKLCHoklch(51.99% 0.1 241.7)
XYZxyz(12.7227, 14.2940, 33.9802)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F9D #9D582A
analogous
#2A9D92 #2A6F9D #2A369D
triadic
#2A6F9D #9D2A6F #6F9D2A
tetradic
#2A6F9D #922A9D #9D582A #369D2A
square
#2A6F9D #922A9D #9D582A #369D2A
split-complementary
#2A6F9D #9D2A36 #9D922A
monochromatic
#102B3C #1D4D6D #2A6F9D #3A91CA #6AACD7

Accessibility & contrast

On white

5.44
#2A6F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2A6F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F9D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F9D#FFFFFF#000000##FFFFFF
##2A6F9D1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#4A659C
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6f9d;
/* rgb */ color: rgb(42, 111, 157);
/* oklch */ color: oklch(52.0% 0.100 241.7);
Tailwind
colors: {
  custom: {
    50: '#7398ba',
    500: '#2a6f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f9d;
$custom-light: #7398ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f9d",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 157
  },
  "hsl": {
    "h": 204,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.09976,
    "h": 241.7
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#2A6F9D
secondary
#BE8965
accent
#8447E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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