#2F7397#2F7397

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

Color values

HEX#2F7397
RGBrgb(47, 115, 151)
HSLhsl(201, 53%, 39%)
HSVhsv(201, 69%, 59%)
CMYKcmyk(68.9%, 23.8%, 0%, 40.8%)
CIE-LABlab(45.77, -9.38, -25.79)
CIE-LCHlch(45.77, 27.44, 250.01°)
OKLaboklab(52.83% -0.0505 -0.0724)
OKLCHoklch(52.83% 0.088 235.1)
XYZxyz(12.8868, 15.0988, 31.5074)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7397 #97532F
analogous
#2F9787 #2F7397 #2F3F97
triadic
#2F7397 #972F73 #73972F
tetradic
#2F7397 #872F97 #97532F #3F972F
square
#2F7397 #872F97 #97532F #3F972F
split-complementary
#2F7397 #972F3F #97872F
monochromatic
#122C3A #204F68 #2F7397 #4096C3 #6EB0D2

Accessibility & contrast

On white

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

On black

4.02
#2F7397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7397#FFFFFF#000000##FFFFFF
##2F73971.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627299
Deuteranopia (green-blind)
#536896
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7397;
/* rgb */ color: rgb(47, 115, 151);
/* oklch */ color: oklch(52.8% 0.088 235.1);
Tailwind
colors: {
  custom: {
    50: '#749bb5',
    500: '#2f7397',
    950: '#000000',
  },
}
SCSS
$custom: #2f7397;
$custom-light: #749bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7397",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 200.769,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.08829,
    "h": 235.1
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#2F7397
secondary
#B98468
accent
#7E4CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7397

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

Preview Lab → · Contrast checker → · Palette generator →

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