#2A6F96#2A6F96

#2A6F96 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.6% C 0.092 H 237.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2A6F96
RGBrgb(42, 111, 150)
HSLhsl(202, 56%, 38%)
HSVhsv(202, 72%, 59%)
CMYKcmyk(72%, 26%, 0%, 41.2%)
CIE-LABlab(44.32, -8.19, -27.46)
CIE-LCHlch(44.32, 28.65, 253.40°)
OKLaboklab(51.62% -0.0496 -0.0773)
OKLCHoklch(51.62% 0.092 237.3)
XYZxyz(12.1421, 14.0618, 30.9225)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F96 #96512A
analogous
#2A9687 #2A6F96 #2A3996
triadic
#2A6F96 #962A6F #6F962A
tetradic
#2A6F96 #872A96 #96512A #39962A
square
#2A6F96 #872A96 #96512A #39962A
split-complementary
#2A6F96 #962A39 #96872A
monochromatic
#0F2836 #1D4C66 #2A6F96 #3792C6 #66ACD4

Accessibility & contrast

On white

5.51
#2A6F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2A6F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F96
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F96#FFFFFF#000000##FFFFFF
##2A6F961.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F98
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#00797C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6f96;
/* rgb */ color: rgb(42, 111, 150);
/* oklch */ color: oklch(51.6% 0.092 237.3);
Tailwind
colors: {
  custom: {
    50: '#7298b5',
    500: '#2a6f96',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f96;
$custom-light: #7298b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f96",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 150
  },
  "hsl": {
    "h": 201.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.09191,
    "h": 237.3
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#2A6F96
secondary
#BA8261
accent
#7F48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6F96

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

Preview Lab → · Contrast checker → · Palette generator →

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