#2A7399#2A7399

#2A7399 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.8% C 0.093 H 235.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A7399
RGBrgb(42, 115, 153)
HSLhsl(201, 57%, 38%)
HSVhsv(201, 73%, 60%)
CMYKcmyk(72.5%, 24.8%, 0%, 40%)
CIE-LABlab(45.71, -9.46, -27.08)
CIE-LCHlch(45.71, 28.69, 250.74°)
OKLaboklab(52.77% -0.0527 -0.0762)
OKLCHoklch(52.77% 0.093 235.3)
XYZxyz(12.8331, 15.0522, 32.3598)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7399 #99502A
analogous
#2A9987 #2A7399 #2A3B99
triadic
#2A7399 #992A73 #73992A
tetradic
#2A7399 #872A99 #99502A #3B992A
square
#2A7399 #872A99 #99502A #3B992A
split-complementary
#2A7399 #992A3B #99872A
monochromatic
#102B39 #1D4F69 #2A7399 #3897C8 #68B0D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7399#FFFFFF#000000##FFFFFF
##2A73991.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)
#61729B
Deuteranopia (green-blind)
#526798
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7399;
/* rgb */ color: rgb(42, 115, 153);
/* oklch */ color: oklch(52.8% 0.093 235.3);
Tailwind
colors: {
  custom: {
    50: '#729bb7',
    500: '#2a7399',
    950: '#000000',
  },
}
SCSS
$custom: #2a7399;
$custom-light: #729bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7399",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 200.541,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.09269,
    "h": 235.3
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#2A7399
secondary
#BC8163
accent
#7C48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7399

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

Preview Lab → · Contrast checker → · Palette generator →

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