#2A7495#2A7495

#2A7495 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.8% C 0.088 H 231.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A7495
RGBrgb(42, 116, 149)
HSLhsl(199, 56%, 37%)
HSVhsv(199, 72%, 58%)
CMYKcmyk(71.8%, 22.1%, 0%, 41.6%)
CIE-LABlab(45.84, -11.46, -24.51)
CIE-LCHlch(45.84, 27.05, 244.94°)
OKLaboklab(52.82% -0.0553 -0.0688)
OKLCHoklch(52.82% 0.088 231.2)
XYZxyz(12.6229, 15.1515, 30.6872)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7495 #954B2A
analogous
#2A9581 #2A7495 #2A3E95
triadic
#2A7495 #952A74 #74952A
tetradic
#2A7495 #812A95 #954B2A #3E952A
square
#2A7495 #812A95 #954B2A #3E952A
split-complementary
#2A7495 #952A3E #95812A
monochromatic
#0F2A36 #1D4F65 #2A7495 #3799C5 #66B2D4

Accessibility & contrast

On white

5.21
#2A7495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A7495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7495
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7495#FFFFFF#000000##FFFFFF
##2A74951.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637297
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7495;
/* rgb */ color: rgb(42, 116, 149);
/* oklch */ color: oklch(52.8% 0.088 231.2);
Tailwind
colors: {
  custom: {
    50: '#729cb4',
    500: '#2a7495',
    950: '#000000',
  },
}
SCSS
$custom: #2a7495;
$custom-light: #729cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7495",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 149
  },
  "hsl": {
    "h": 198.505,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.08824,
    "h": 231.2
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#2A7495
secondary
#BA7C61
accent
#7748DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7495

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

Preview Lab → · Contrast checker → · Palette generator →

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