#2A7199#2A7199

#2A7199 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.3% C 0.094 H 237.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2A7199
RGBrgb(42, 113, 153)
HSLhsl(202, 57%, 38%)
HSVhsv(202, 73%, 60%)
CMYKcmyk(72.5%, 26.1%, 0%, 40%)
CIE-LABlab(45.08, -8.29, -28.05)
CIE-LCHlch(45.08, 29.25, 253.53°)
OKLaboklab(52.27% -0.0507 -0.079)
OKLCHoklch(52.27% 0.094 237.3)
XYZxyz(12.6075, 14.6010, 32.2846)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7199 #99522A
analogous
#2A9989 #2A7199 #2A3999
triadic
#2A7199 #992A71 #71992A
tetradic
#2A7199 #892A99 #99522A #39992A
square
#2A7199 #892A99 #99522A #39992A
split-complementary
#2A7199 #992A39 #99892A
monochromatic
#102A39 #1D4E69 #2A7199 #3894C8 #68AED6

Accessibility & contrast

On white

5.36
#2A7199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2A7199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7199
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7199#FFFFFF#000000##FFFFFF
##2A71991.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E719B
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7199;
/* rgb */ color: rgb(42, 113, 153);
/* oklch */ color: oklch(52.3% 0.094 237.3);
Tailwind
colors: {
  custom: {
    50: '#7299b7',
    500: '#2a7199',
    950: '#000000',
  },
}
SCSS
$custom: #2a7199;
$custom-light: #7299b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7199",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 153
  },
  "hsl": {
    "h": 201.622,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.09388,
    "h": 237.3
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#2A7199
secondary
#BC8363
accent
#7F48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7199

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

Preview Lab → · Contrast checker → · Palette generator →

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