#2A6F9F#2A6F9F

#2A6F9F is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.1% C 0.102 H 242.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2A6F9F
RGBrgb(42, 111, 159)
HSLhsl(205, 58%, 39%)
HSVhsv(205, 74%, 62%)
CMYKcmyk(73.6%, 30.2%, 0%, 37.6%)
CIE-LABlab(44.75, -4.93, -32.12)
CIE-LCHlch(44.75, 32.49, 261.27°)
OKLaboklab(52.1% -0.0466 -0.0908)
OKLCHoklch(52.1% 0.102 242.8)
XYZxyz(12.8949, 14.3629, 34.8869)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F9F #9F5A2A
analogous
#2A9F95 #2A6F9F #2A359F
triadic
#2A6F9F #9F2A6F #6F9F2A
tetradic
#2A6F9F #952A9F #9F5A2A #359F2A
square
#2A6F9F #952A9F #9F5A2A #359F2A
split-complementary
#2A6F9F #9F2A35 #9F952A
monochromatic
#102B3E #1D4D6F #2A6F9F #3B90CB #6BABD8

Accessibility & contrast

On white

5.42
#2A6F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6F9F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F9F#FFFFFF#000000##FFFFFF
##2A6F9F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5970A1
Deuteranopia (green-blind)
#49659E
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6f9f;
/* rgb */ color: rgb(42, 111, 159);
/* oklch */ color: oklch(52.1% 0.102 242.8);
Tailwind
colors: {
  custom: {
    50: '#7398bb',
    500: '#2a6f9f',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f9f;
$custom-light: #7398bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f9f",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 159
  },
  "hsl": {
    "h": 204.615,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.1021,
    "h": 242.8
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#2A6F9F
secondary
#BF8A66
accent
#8646E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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