#2A6F9C#2A6F9C

#2A6F9C is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.9% C 0.099 H 241.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6F9C
RGBrgb(42, 111, 156)
HSLhsl(204, 58%, 39%)
HSVhsv(204, 73%, 61%)
CMYKcmyk(73.1%, 28.8%, 0%, 38.8%)
CIE-LABlab(44.60, -6.02, -30.57)
CIE-LCHlch(44.60, 31.16, 258.86°)
OKLaboklab(51.94% -0.0476 -0.0864)
OKLCHoklch(51.94% 0.099 241.1)
XYZxyz(12.6377, 14.2600, 33.5325)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F9C #9C572A
analogous
#2A9C90 #2A6F9C #2A369C
triadic
#2A6F9C #9C2A6F #6F9C2A
tetradic
#2A6F9C #902A9C #9C572A #369C2A
square
#2A6F9C #902A9C #9C572A #369C2A
split-complementary
#2A6F9C #9C2A36 #9C902A
monochromatic
#102A3C #1D4D6C #2A6F9C #3991CA #6AACD7

Accessibility & contrast

On white

5.45
#2A6F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A6F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F9C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F9C#FFFFFF#000000##FFFFFF
##2A6F9C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A709E
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6f9c;
/* rgb */ color: rgb(42, 111, 156);
/* oklch */ color: oklch(51.9% 0.099 241.1);
Tailwind
colors: {
  custom: {
    50: '#7398b9',
    500: '#2a6f9c',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f9c;
$custom-light: #7398b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f9c",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 156
  },
  "hsl": {
    "h": 203.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.0986,
    "h": 241.1
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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