#2A7594#2A7594

#2A7594 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.0% C 0.087 H 229.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2A7594
RGBrgb(42, 117, 148)
HSLhsl(198, 56%, 37%)
HSVhsv(198, 72%, 58%)
CMYKcmyk(71.6%, 20.9%, 0%, 42%)
CIE-LABlab(46.11, -12.38, -23.50)
CIE-LCHlch(46.11, 26.56, 242.22°)
OKLaboklab(53.02% -0.0567 -0.0659)
OKLCHoklch(53.02% 0.087 229.3)
XYZxyz(12.6593, 15.3515, 30.3072)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7594 #94492A
analogous
#2A947E #2A7594 #2A4094
triadic
#2A7594 #942A75 #75942A
tetradic
#2A7594 #7E2A94 #94492A #40942A
square
#2A7594 #7E2A94 #94492A #40942A
split-complementary
#2A7594 #942A40 #947E2A
monochromatic
#0F2A35 #1C4F64 #2A7594 #389BC4 #65B3D3

Accessibility & contrast

On white

5.16
#2A7594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2A7594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7594
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7594#FFFFFF#000000##FFFFFF
##2A75941.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657396
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#007E7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7594;
/* rgb */ color: rgb(42, 117, 148);
/* oklch */ color: oklch(53.0% 0.087 229.3);
Tailwind
colors: {
  custom: {
    50: '#729cb3',
    500: '#2a7594',
    950: '#000000',
  },
}
SCSS
$custom: #2a7594;
$custom-light: #729cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7594",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 148
  },
  "hsl": {
    "h": 197.547,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.08692,
    "h": 229.3
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#2A7594
secondary
#B97A60
accent
#7549DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7594

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

Preview Lab → · Contrast checker → · Palette generator →

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