#2A6F99#2A6F99

#2A6F99 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.8% C 0.095 H 239.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A6F99
RGBrgb(42, 111, 153)
HSLhsl(203, 57%, 38%)
HSVhsv(203, 73%, 60%)
CMYKcmyk(72.5%, 27.5%, 0%, 40%)
CIE-LABlab(44.46, -7.11, -29.02)
CIE-LCHlch(44.46, 29.88, 256.24°)
OKLaboklab(51.78% -0.0486 -0.0819)
OKLCHoklch(51.78% 0.095 239.3)
XYZxyz(12.3868, 14.1596, 32.2111)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F99 #99542A
analogous
#2A998B #2A6F99 #2A3799
triadic
#2A6F99 #992A6F #6F992A
tetradic
#2A6F99 #8B2A99 #99542A #37992A
square
#2A6F99 #8B2A99 #99542A #37992A
split-complementary
#2A6F99 #992A37 #998B2A
monochromatic
#102939 #1D4C69 #2A6F99 #3892C8 #68ACD6

Accessibility & contrast

On white

5.48
#2A6F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2A6F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F99
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F99#FFFFFF#000000##FFFFFF
##2A6F991.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9B
Deuteranopia (green-blind)
#4C6498
Tritanopia (blue-blind)
#007A7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6f99;
/* rgb */ color: rgb(42, 111, 153);
/* oklch */ color: oklch(51.8% 0.095 239.3);
Tailwind
colors: {
  custom: {
    50: '#7298b7',
    500: '#2a6f99',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f99;
$custom-light: #7298b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f99",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 153
  },
  "hsl": {
    "h": 202.703,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.0952,
    "h": 239.3
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#2A6F99
secondary
#BC8563
accent
#8148E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6F99

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

Preview Lab → · Contrast checker → · Palette generator →

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