#2F5E8F#2F5E8F

#2F5E8F is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.095 H 251.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2F5E8F
RGBrgb(47, 94, 143)
HSLhsl(211, 51%, 37%)
HSVhsv(211, 67%, 56%)
CMYKcmyk(67.1%, 34.3%, 0%, 43.9%)
CIE-LABlab(38.88, 0.50, -31.78)
CIE-LCHlch(38.88, 31.78, 270.90°)
OKLaboklab(47.27% -0.0304 -0.09)
OKLCHoklch(47.27% 0.095 251.3)
XYZxyz(10.1311, 10.5919, 27.4918)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E8F #8F602F
analogous
#2F8E8F #2F5E8F #302F8F
triadic
#2F5E8F #8F2F5E #5E8F2F
tetradic
#2F5E8F #8F2F8E #8F602F #2F8F30
square
#2F5E8F #8F2F8E #8F602F #2F8F30
split-complementary
#2F5E8F #8F302F #8E8F2F
monochromatic
#112133 #204061 #2F5E8F #3E7CBD #6A9BCE

Accessibility & contrast

On white

6.73
#2F5E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F5E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5E8F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E8F#FFFFFF#000000##FFFFFF
##2F5E8F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496191
Deuteranopia (green-blind)
#3B578E
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5e8f;
/* rgb */ color: rgb(47, 94, 143);
/* oklch */ color: oklch(47.3% 0.095 251.3);
Tailwind
colors: {
  custom: {
    50: '#728bb0',
    500: '#2f5e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e8f;
$custom-light: #728bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e8f",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 143
  },
  "hsl": {
    "h": 210.625,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47267,
    "c": 0.095,
    "h": 251.3
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#2F5E8F
secondary
#B58E65
accent
#954EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #2F5E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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