#2A7391#2A7391

#2A7391 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.4% C 0.085 H 229.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2A7391
RGBrgb(42, 115, 145)
HSLhsl(197, 55%, 37%)
HSVhsv(197, 71%, 57%)
CMYKcmyk(71%, 20.7%, 0%, 43.1%)
CIE-LABlab(45.35, -12.28, -22.89)
CIE-LCHlch(45.35, 25.98, 241.79°)
OKLaboklab(52.37% -0.0557 -0.0641)
OKLCHoklch(52.37% 0.085 229)
XYZxyz(12.1944, 14.7967, 28.9959)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7391 #91482A
analogous
#2A917C #2A7391 #2A4091
triadic
#2A7391 #912A73 #73912A
tetradic
#2A7391 #7C2A91 #91482A #40912A
square
#2A7391 #7C2A91 #91482A #40912A
split-complementary
#2A7391 #912A40 #917C2A
monochromatic
#0F2832 #1C4D62 #2A7391 #3899C0 #63B2D2

Accessibility & contrast

On white

5.30
#2A7391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2A7391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7391
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7391#FFFFFF#000000##FFFFFF
##2A73911.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637192
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#007B7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7391;
/* rgb */ color: rgb(42, 115, 145);
/* oklch */ color: oklch(52.4% 0.085 229.0);
Tailwind
colors: {
  custom: {
    50: '#719bb1',
    500: '#2a7391',
    950: '#000000',
  },
}
SCSS
$custom: #2a7391;
$custom-light: #719bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7391",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 145
  },
  "hsl": {
    "h": 197.476,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.08498,
    "h": 229
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#2A7391
secondary
#B8795F
accent
#7549DE
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A7391

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

Preview Lab → · Contrast checker → · Palette generator →

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