#2A7098#2A7098

#2A7098 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.093 H 237.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A7098
RGBrgb(42, 112, 152)
HSLhsl(202, 57%, 38%)
HSVhsv(202, 72%, 60%)
CMYKcmyk(72.4%, 26.3%, 0%, 40.4%)
CIE-LABlab(44.73, -8.06, -28.02)
CIE-LCHlch(44.73, 29.15, 253.95°)
OKLaboklab(51.97% -0.05 -0.0789)
OKLCHoklch(51.97% 0.093 237.7)
XYZxyz(12.4143, 14.3462, 31.8145)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7098 #98522A
analogous
#2A9889 #2A7098 #2A3998
triadic
#2A7098 #982A70 #70982A
tetradic
#2A7098 #892A98 #98522A #39982A
square
#2A7098 #892A98 #98522A #39982A
split-complementary
#2A7098 #982A39 #98892A
monochromatic
#102938 #1D4D68 #2A7098 #3793C8 #67ADD5

Accessibility & contrast

On white

5.43
#2A7098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A7098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7098
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7098#FFFFFF#000000##FFFFFF
##2A70981.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7098;
/* rgb */ color: rgb(42, 112, 152);
/* oklch */ color: oklch(52.0% 0.093 237.7);
Tailwind
colors: {
  custom: {
    50: '#7299b6',
    500: '#2a7098',
    950: '#000000',
  },
}
SCSS
$custom: #2a7098;
$custom-light: #7299b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7098",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 152
  },
  "hsl": {
    "h": 201.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.09344,
    "h": 237.7
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7098

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

Preview Lab → · Contrast checker → · Palette generator →

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