#2A7491#2A7491

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

Color values

HEX#2A7491
RGBrgb(42, 116, 145)
HSLhsl(197, 55%, 37%)
HSVhsv(197, 71%, 57%)
CMYKcmyk(71%, 20%, 0%, 43.1%)
CIE-LABlab(45.67, -12.85, -22.40)
CIE-LCHlch(45.67, 25.83, 240.16°)
OKLaboklab(52.62% -0.0568 -0.0627)
OKLCHoklch(52.62% 0.085 227.8)
XYZxyz(12.3090, 15.0260, 29.0342)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7491 #91472A
analogous
#2A917B #2A7491 #2A4191
triadic
#2A7491 #912A74 #74912A
tetradic
#2A7491 #7B2A91 #91472A #41912A
square
#2A7491 #7B2A91 #91472A #41912A
split-complementary
#2A7491 #912A41 #917B2A
monochromatic
#0F2832 #1C4E62 #2A7491 #389AC0 #63B3D2

Accessibility & contrast

On white

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

On black

4.01
#2A7491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7491#FFFFFF#000000##FFFFFF
##2A74911.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657292
Deuteranopia (green-blind)
#576891
Tritanopia (blue-blind)
#007C7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7491;
/* rgb */ color: rgb(42, 116, 145);
/* oklch */ color: oklch(52.6% 0.085 227.8);
Tailwind
colors: {
  custom: {
    50: '#719cb1',
    500: '#2a7491',
    950: '#000000',
  },
}
SCSS
$custom: #2a7491;
$custom-light: #719cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7491",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 145
  },
  "hsl": {
    "h": 196.893,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.52624,
    "c": 0.08465,
    "h": 227.8
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#2A7491
secondary
#B8785F
accent
#7349DE
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A7491

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

Preview Lab → · Contrast checker → · Palette generator →

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