#2F7494#2F7494

#2F7494 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.9% C 0.085 H 231.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F7494
RGBrgb(47, 116, 148)
HSLhsl(199, 52%, 38%)
HSVhsv(199, 68%, 58%)
CMYKcmyk(68.2%, 21.6%, 0%, 42%)
CIE-LABlab(45.95, -11.00, -23.73)
CIE-LCHlch(45.95, 26.16, 245.13°)
OKLaboklab(52.93% -0.0527 -0.0665)
OKLCHoklch(52.93% 0.085 231.6)
XYZxyz(12.7609, 15.2319, 30.2788)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7494 #944F2F
analogous
#2F9481 #2F7494 #2F4194
triadic
#2F7494 #942F74 #74942F
tetradic
#2F7494 #812F94 #944F2F #41942F
square
#2F7494 #812F94 #944F2F #41942F
split-complementary
#2F7494 #942F41 #94812F
monochromatic
#112B37 #205066 #2F7494 #3E98C2 #6DB1D1

Accessibility & contrast

On white

5.19
#2F7494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2F7494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7494
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7494#FFFFFF#000000##FFFFFF
##2F74941.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7494;
/* rgb */ color: rgb(47, 116, 148);
/* oklch */ color: oklch(52.9% 0.085 231.6);
Tailwind
colors: {
  custom: {
    50: '#749cb3',
    500: '#2f7494',
    950: '#000000',
  },
}
SCSS
$custom: #2f7494;
$custom-light: #749cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7494",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 148
  },
  "hsl": {
    "h": 199.01,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.08485,
    "h": 231.6
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#2F7494
secondary
#B88167
accent
#7A4DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7494

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

Preview Lab → · Contrast checker → · Palette generator →

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