#2A7294#2A7294

#2A7294 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.3% C 0.088 H 232.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2A7294
RGBrgb(42, 114, 148)
HSLhsl(199, 56%, 37%)
HSVhsv(199, 72%, 58%)
CMYKcmyk(71.6%, 23%, 0%, 42%)
CIE-LABlab(45.17, -10.65, -24.95)
CIE-LCHlch(45.17, 27.13, 246.88°)
OKLaboklab(52.27% -0.0535 -0.0701)
OKLCHoklch(52.27% 0.088 232.6)
XYZxyz(12.3153, 14.6636, 30.1925)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7294 #944C2A
analogous
#2A9481 #2A7294 #2A3D94
triadic
#2A7294 #942A72 #72942A
tetradic
#2A7294 #812A94 #944C2A #3D942A
square
#2A7294 #812A94 #944C2A #3D942A
split-complementary
#2A7294 #942A3D #94812A
monochromatic
#0F2935 #1C4D64 #2A7294 #3897C4 #65B0D3

Accessibility & contrast

On white

5.34
#2A7294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2A7294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7294
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7294#FFFFFF#000000##FFFFFF
##2A72941.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617196
Deuteranopia (green-blind)
#536693
Tritanopia (blue-blind)
#007B7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7294;
/* rgb */ color: rgb(42, 114, 148);
/* oklch */ color: oklch(52.3% 0.088 232.6);
Tailwind
colors: {
  custom: {
    50: '#729ab3',
    500: '#2a7294',
    950: '#000000',
  },
}
SCSS
$custom: #2a7294;
$custom-light: #729ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7294",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 148
  },
  "hsl": {
    "h": 199.245,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.08819,
    "h": 232.6
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#2A7294
secondary
#B97D60
accent
#7949DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7294

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

Preview Lab → · Contrast checker → · Palette generator →

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