#2A7397#2A7397

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

Color values

HEX#2A7397
RGBrgb(42, 115, 151)
HSLhsl(200, 56%, 38%)
HSVhsv(200, 72%, 59%)
CMYKcmyk(72.2%, 23.8%, 0%, 40.8%)
CIE-LABlab(45.62, -10.17, -26.04)
CIE-LCHlch(45.62, 27.95, 248.66°)
OKLaboklab(52.67% -0.0535 -0.0732)
OKLCHoklch(52.67% 0.091 233.8)
XYZxyz(12.6693, 14.9866, 31.4972)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7397 #974E2A
analogous
#2A9785 #2A7397 #2A3C97
triadic
#2A7397 #972A73 #73972A
tetradic
#2A7397 #852A97 #974E2A #3C972A
square
#2A7397 #852A97 #974E2A #3C972A
split-complementary
#2A7397 #972A3C #97852A
monochromatic
#0F2A37 #1D4F67 #2A7397 #3797C7 #67B0D5

Accessibility & contrast

On white

5.25
#2A7397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7397
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7397#FFFFFF#000000##FFFFFF
##2A73971.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617299
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7397;
/* rgb */ color: rgb(42, 115, 151);
/* oklch */ color: oklch(52.7% 0.091 233.8);
Tailwind
colors: {
  custom: {
    50: '#729bb5',
    500: '#2a7397',
    950: '#000000',
  },
}
SCSS
$custom: #2a7397;
$custom-light: #729bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7397",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 199.817,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.09066,
    "h": 233.8
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#2A7397
secondary
#BB7F62
accent
#7A48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7397

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

Preview Lab → · Contrast checker → · Palette generator →

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