#2A7394#2A7394

#2A7394 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.5% C 0.088 H 231.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A7394
RGBrgb(42, 115, 148)
HSLhsl(199, 56%, 37%)
HSVhsv(199, 72%, 58%)
CMYKcmyk(71.6%, 22.3%, 0%, 42%)
CIE-LABlab(45.48, -11.23, -24.47)
CIE-LCHlch(45.48, 26.92, 245.34°)
OKLaboklab(52.52% -0.0546 -0.0687)
OKLCHoklch(52.52% 0.088 231.5)
XYZxyz(12.4287, 14.8904, 30.2303)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7394 #944B2A
analogous
#2A9480 #2A7394 #2A3E94
triadic
#2A7394 #942A73 #73942A
tetradic
#2A7394 #802A94 #944B2A #3E942A
square
#2A7394 #802A94 #944B2A #3E942A
split-complementary
#2A7394 #942A3E #94802A
monochromatic
#0F2935 #1C4E64 #2A7394 #3898C4 #65B1D3

Accessibility & contrast

On white

5.28
#2A7394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A7394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7394
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7394#FFFFFF#000000##FFFFFF
##2A73941.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627296
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#007C7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7394;
/* rgb */ color: rgb(42, 115, 148);
/* oklch */ color: oklch(52.5% 0.088 231.5);
Tailwind
colors: {
  custom: {
    50: '#729bb3',
    500: '#2a7394',
    950: '#000000',
  },
}
SCSS
$custom: #2a7394;
$custom-light: #729bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7394",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 148
  },
  "hsl": {
    "h": 198.679,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.08773,
    "h": 231.5
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#2A7394
secondary
#B97C60
accent
#7849DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7394

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

Preview Lab → · Contrast checker → · Palette generator →

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