#2A6F97#2A6F97

#2A6F97 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.093 H 238.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2A6F97
RGBrgb(42, 111, 151)
HSLhsl(202, 56%, 38%)
HSVhsv(202, 72%, 59%)
CMYKcmyk(72.2%, 26.5%, 0%, 40.8%)
CIE-LABlab(44.37, -7.83, -27.98)
CIE-LCHlch(44.37, 29.06, 254.37°)
OKLaboklab(51.67% -0.0493 -0.0788)
OKLCHoklch(51.67% 0.093 238)
XYZxyz(12.2230, 14.0941, 31.3484)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F97 #97522A
analogous
#2A9788 #2A6F97 #2A3997
triadic
#2A6F97 #972A6F #6F972A
tetradic
#2A6F97 #882A97 #97522A #39972A
square
#2A6F97 #882A97 #97522A #39972A
split-complementary
#2A6F97 #972A39 #97882A
monochromatic
#0F2937 #1D4C67 #2A6F97 #3792C7 #67ACD5

Accessibility & contrast

On white

5.50
#2A6F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A6F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F97
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F97#FFFFFF#000000##FFFFFF
##2A6F971.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F99
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6f97;
/* rgb */ color: rgb(42, 111, 151);
/* oklch */ color: oklch(51.7% 0.093 238.0);
Tailwind
colors: {
  custom: {
    50: '#7298b5',
    500: '#2a6f97',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f97;
$custom-light: #7298b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f97",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 151
  },
  "hsl": {
    "h": 202.018,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.09299,
    "h": 238
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#2A6F97
secondary
#BB8362
accent
#8048E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6F97

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

Preview Lab → · Contrast checker → · Palette generator →

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