#2F7398#2F7398

#2F7398 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.9% C 0.089 H 235.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F7398
RGBrgb(47, 115, 152)
HSLhsl(201, 53%, 39%)
HSVhsv(201, 69%, 60%)
CMYKcmyk(69.1%, 24.3%, 0%, 40.4%)
CIE-LABlab(45.81, -9.03, -26.31)
CIE-LCHlch(45.81, 27.82, 251.05°)
OKLaboklab(52.88% -0.0501 -0.0739)
OKLCHoklch(52.88% 0.089 235.9)
XYZxyz(12.9683, 15.1314, 31.9369)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7398 #98542F
analogous
#2F9889 #2F7398 #2F3F98
triadic
#2F7398 #982F73 #73982F
tetradic
#2F7398 #892F98 #98542F #3F982F
square
#2F7398 #892F98 #98542F #3F982F
split-complementary
#2F7398 #982F3F #98892F
monochromatic
#122C3B #215069 #2F7398 #4096C4 #6FAFD2

Accessibility & contrast

On white

5.22
#2F7398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F7398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7398
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7398#FFFFFF#000000##FFFFFF
##2F73981.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7398;
/* rgb */ color: rgb(47, 115, 152);
/* oklch */ color: oklch(52.9% 0.089 235.9);
Tailwind
colors: {
  custom: {
    50: '#749bb6',
    500: '#2f7398',
    950: '#000000',
  },
}
SCSS
$custom: #2f7398;
$custom-light: #749bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7398",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 201.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.08933,
    "h": 235.9
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#2F7398
secondary
#BA8569
accent
#7F4CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7398

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

Preview Lab → · Contrast checker → · Palette generator →

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