#2A7398#2A7398

#2A7398 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.7% C 0.092 H 234.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A7398
RGBrgb(42, 115, 152)
HSLhsl(200, 57%, 38%)
HSVhsv(200, 72%, 60%)
CMYKcmyk(72.4%, 24.3%, 0%, 40.4%)
CIE-LABlab(45.66, -9.82, -26.56)
CIE-LCHlch(45.66, 28.32, 249.71°)
OKLaboklab(52.72% -0.0531 -0.0747)
OKLCHoklch(52.72% 0.092 234.6)
XYZxyz(12.7508, 15.0193, 31.9267)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7398 #984F2A
analogous
#2A9886 #2A7398 #2A3C98
triadic
#2A7398 #982A73 #73982A
tetradic
#2A7398 #862A98 #984F2A #3C982A
square
#2A7398 #862A98 #984F2A #3C982A
split-complementary
#2A7398 #982A3C #98862A
monochromatic
#102A38 #1D4F68 #2A7398 #3797C8 #67B0D5

Accessibility & contrast

On white

5.24
#2A7398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2A7398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7398
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7398#FFFFFF#000000##FFFFFF
##2A73981.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7398;
/* rgb */ color: rgb(42, 115, 152);
/* oklch */ color: oklch(52.7% 0.092 234.6);
Tailwind
colors: {
  custom: {
    50: '#729bb6',
    500: '#2a7398',
    950: '#000000',
  },
}
SCSS
$custom: #2a7398;
$custom-light: #729bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7398",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 200.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.09166,
    "h": 234.6
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#2A7398
secondary
#BB8062
accent
#7B48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7398

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

Preview Lab → · Contrast checker → · Palette generator →

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