#2F5173#2F5173

#2F5173 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.069 H 249.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2F5173
RGBrgb(47, 81, 115)
HSLhsl(210, 42%, 32%)
HSVhsv(210, 59%, 45%)
CMYKcmyk(59.1%, 29.6%, 0%, 54.9%)
CIE-LABlab(33.41, -1.32, -23.20)
CIE-LCHlch(33.41, 23.24, 266.75°)
OKLaboklab(42.5% -0.024 -0.0652)
OKLCHoklch(42.5% 0.069 249.8)
XYZxyz(7.2081, 7.7264, 17.3278)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5173 #73512F
analogous
#2F7373 #2F5173 #2F2F73
triadic
#2F5173 #732F51 #51732F
tetradic
#2F5173 #732F73 #73512F #2F732F
square
#2F5173 #732F73 #73512F #2F732F
split-complementary
#2F5173 #732F2F #73732F
monochromatic
#0B141C #1D3248 #2F5173 #41709E #5F8EBE

Accessibility & contrast

On white

8.25
#2F5173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F5173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5173
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5173#FFFFFF#000000##FFFFFF
##2F51731.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435275
Deuteranopia (green-blind)
#3A4C72
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5173;
/* rgb */ color: rgb(47, 81, 115);
/* oklch */ color: oklch(42.5% 0.069 249.8);
Tailwind
colors: {
  custom: {
    50: '#6d819b',
    500: '#2f5173',
    950: '#000000',
  },
}
SCSS
$custom: #2f5173;
$custom-light: #6d819b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5173",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 210,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.06948,
    "h": 249.8
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#2F5173
secondary
#A47F5A
accent
#9456D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F5173

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

Preview Lab → · Contrast checker → · Palette generator →

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