#2A7097#2A7097

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

Color values

HEX#2A7097
RGBrgb(42, 112, 151)
HSLhsl(201, 56%, 38%)
HSVhsv(201, 72%, 59%)
CMYKcmyk(72.2%, 25.8%, 0%, 40.8%)
CIE-LABlab(44.68, -8.42, -27.50)
CIE-LCHlch(44.68, 28.76, 252.97°)
OKLaboklab(51.92% -0.0503 -0.0774)
OKLCHoklch(51.92% 0.092 237)
XYZxyz(12.3327, 14.3136, 31.3850)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7097 #97512A
analogous
#2A9787 #2A7097 #2A3997
triadic
#2A7097 #972A70 #70972A
tetradic
#2A7097 #872A97 #97512A #39972A
square
#2A7097 #872A97 #97512A #39972A
split-complementary
#2A7097 #972A39 #97872A
monochromatic
#0F2937 #1D4C67 #2A7097 #3794C7 #67ADD5

Accessibility & contrast

On white

5.44
#2A7097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2A7097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7097
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7097#FFFFFF#000000##FFFFFF
##2A70971.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7099
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#007A7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7097;
/* rgb */ color: rgb(42, 112, 151);
/* oklch */ color: oklch(51.9% 0.092 237.0);
Tailwind
colors: {
  custom: {
    50: '#7299b5',
    500: '#2a7097',
    950: '#000000',
  },
}
SCSS
$custom: #2a7097;
$custom-light: #7299b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7097",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 151
  },
  "hsl": {
    "h": 201.468,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.09236,
    "h": 237
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#2A7097
secondary
#BB8262
accent
#7E48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A7097

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

Preview Lab → · Contrast checker → · Palette generator →

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