#2A7290#2A7290

#2A7290 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.1% C 0.084 H 229.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A7290
RGBrgb(42, 114, 144)
HSLhsl(198, 55%, 36%)
HSVhsv(198, 71%, 56%)
CMYKcmyk(70.8%, 20.8%, 0%, 43.5%)
CIE-LABlab(45.00, -12.05, -22.85)
CIE-LCHlch(45.00, 25.83, 242.19°)
OKLaboklab(52.07% -0.055 -0.064)
OKLCHoklch(52.07% 0.084 229.3)
XYZxyz(12.0042, 14.5392, 28.5538)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7290 #90482A
analogous
#2A907B #2A7290 #2A3F90
triadic
#2A7290 #902A72 #72902A
tetradic
#2A7290 #7B2A90 #90482A #3F902A
square
#2A7290 #7B2A90 #90482A #3F902A
split-complementary
#2A7290 #902A3F #907B2A
monochromatic
#0E2731 #1C4C61 #2A7290 #3898BF #63B1D1

Accessibility & contrast

On white

5.37
#2A7290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A7290 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7290
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7290#FFFFFF#000000##FFFFFF
##2A72901.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637091
Deuteranopia (green-blind)
#556690
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7290;
/* rgb */ color: rgb(42, 114, 144);
/* oklch */ color: oklch(52.1% 0.084 229.3);
Tailwind
colors: {
  custom: {
    50: '#719ab0',
    500: '#2a7290',
    950: '#000000',
  },
}
SCSS
$custom: #2a7290;
$custom-light: #719ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7290",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 144
  },
  "hsl": {
    "h": 197.647,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.08445,
    "h": 229.3
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#2A7290
secondary
#B7795E
accent
#754ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A7290

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

Preview Lab → · Contrast checker → · Palette generator →

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