#2F7594#2F7594

#2F7594 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.2% C 0.084 H 230.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F7594
RGBrgb(47, 117, 148)
HSLhsl(198, 52%, 38%)
HSVhsv(198, 68%, 58%)
CMYKcmyk(68.2%, 20.9%, 0%, 42%)
CIE-LABlab(46.26, -11.58, -23.25)
CIE-LCHlch(46.26, 25.97, 243.53°)
OKLaboklab(53.18% -0.0538 -0.0651)
OKLCHoklch(53.18% 0.084 230.5)
XYZxyz(12.8768, 15.4637, 30.3174)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7594 #944E2F
analogous
#2F9480 #2F7594 #2F4294
triadic
#2F7594 #942F75 #75942F
tetradic
#2F7594 #802F94 #944E2F #42942F
square
#2F7594 #802F94 #944E2F #42942F
split-complementary
#2F7594 #942F42 #94802F
monochromatic
#112C37 #205066 #2F7594 #3E99C2 #6DB2D1

Accessibility & contrast

On white

5.13
#2F7594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F7594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7594
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7594#FFFFFF#000000##FFFFFF
##2F75941.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7594;
/* rgb */ color: rgb(47, 117, 148);
/* oklch */ color: oklch(53.2% 0.084 230.5);
Tailwind
colors: {
  custom: {
    50: '#749cb3',
    500: '#2f7594',
    950: '#000000',
  },
}
SCSS
$custom: #2f7594;
$custom-light: #749cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7594",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 148
  },
  "hsl": {
    "h": 198.416,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.08446,
    "h": 230.5
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#2F7594
secondary
#B88067
accent
#784DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7594

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

Preview Lab → · Contrast checker → · Palette generator →

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