#2F7297#2F7297

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

Color values

HEX#2F7297
RGBrgb(47, 114, 151)
HSLhsl(201, 53%, 39%)
HSVhsv(201, 69%, 59%)
CMYKcmyk(68.9%, 24.5%, 0%, 40.8%)
CIE-LABlab(45.46, -8.80, -26.27)
CIE-LCHlch(45.46, 27.70, 251.48°)
OKLaboklab(52.59% -0.0494 -0.0738)
OKLCHoklch(52.59% 0.089 236.2)
XYZxyz(12.7733, 14.8720, 31.4696)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7297 #97542F
analogous
#2F9788 #2F7297 #2F3E97
triadic
#2F7297 #972F72 #72972F
tetradic
#2F7297 #882F97 #97542F #3E972F
square
#2F7297 #882F97 #97542F #3E972F
split-complementary
#2F7297 #972F3E #97882F
monochromatic
#122C3A #204F68 #2F7297 #4095C3 #6EAFD2

Accessibility & contrast

On white

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

On black

3.97
#2F7297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7297#FFFFFF#000000##FFFFFF
##2F72971.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7297;
/* rgb */ color: rgb(47, 114, 151);
/* oklch */ color: oklch(52.6% 0.089 236.2);
Tailwind
colors: {
  custom: {
    50: '#749ab5',
    500: '#2f7297',
    950: '#000000',
  },
}
SCSS
$custom: #2f7297;
$custom-light: #749ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7297",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 151
  },
  "hsl": {
    "h": 201.346,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.08884,
    "h": 236.2
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7297

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

Preview Lab → · Contrast checker → · Palette generator →

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