#2F5F8F#2F5F8F

#2F5F8F is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.5% C 0.094 H 250.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2F5F8F
RGBrgb(47, 95, 143)
HSLhsl(210, 51%, 37%)
HSVhsv(210, 67%, 56%)
CMYKcmyk(67.1%, 33.6%, 0%, 43.9%)
CIE-LABlab(39.19, -0.13, -31.30)
CIE-LCHlch(39.19, 31.30, 269.76°)
OKLaboklab(47.51% -0.0315 -0.0886)
OKLCHoklch(47.51% 0.094 250.4)
XYZxyz(10.2206, 10.7709, 27.5216)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F8F #8F5F2F
analogous
#2F8F8F #2F5F8F #2F2F8F
triadic
#2F5F8F #8F2F5F #5F8F2F
tetradic
#2F5F8F #8F2F8F #8F5F2F #2F8F2F
square
#2F5F8F #8F2F8F #8F5F2F #2F8F2F
split-complementary
#2F5F8F #8F2F2F #8F8F2F
monochromatic
#112233 #204061 #2F5F8F #3E7EBD #6A9CCE

Accessibility & contrast

On white

6.66
#2F5F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F5F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F8F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F8F#FFFFFF#000000##FFFFFF
##2F5F8F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#3D588E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5f8f;
/* rgb */ color: rgb(47, 95, 143);
/* oklch */ color: oklch(47.5% 0.094 250.4);
Tailwind
colors: {
  custom: {
    50: '#728cb0',
    500: '#2f5f8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f8f;
$custom-light: #728cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f8f",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 143
  },
  "hsl": {
    "h": 210,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.094,
    "h": 250.4
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#2F5F8F
secondary
#B58D65
accent
#944EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #2F5F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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