#2F5F8D#2F5F8D

#2F5F8D is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.091 H 249.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2F5F8D
RGBrgb(47, 95, 141)
HSLhsl(209, 50%, 37%)
HSVhsv(209, 67%, 55%)
CMYKcmyk(66.7%, 32.6%, 0%, 44.7%)
CIE-LABlab(39.09, -0.86, -30.25)
CIE-LCHlch(39.09, 30.26, 268.38°)
OKLaboklab(47.39% -0.0321 -0.0855)
OKLCHoklch(47.39% 0.091 249.4)
XYZxyz(10.0704, 10.7108, 26.7308)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F8D #8D5D2F
analogous
#2F8D8C #2F5F8D #2F308D
triadic
#2F5F8D #8D2F5F #5F8D2F
tetradic
#2F5F8D #8C2F8D #8D5D2F #308D2F
square
#2F5F8D #8C2F8D #8D5D2F #308D2F
split-complementary
#2F5F8D #8D2F30 #8D8C2F
monochromatic
#102131 #20405F #2F5F8D #3E7EBB #699CCD

Accessibility & contrast

On white

6.68
#2F5F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F5F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F8D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F8D#FFFFFF#000000##FFFFFF
##2F5F8D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5f8d;
/* rgb */ color: rgb(47, 95, 141);
/* oklch */ color: oklch(47.4% 0.091 249.4);
Tailwind
colors: {
  custom: {
    50: '#728cae',
    500: '#2f5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f8d;
$custom-light: #728cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f8d",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 209.362,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47393,
    "c": 0.09136,
    "h": 249.4
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#2F5F8D
secondary
#B48B64
accent
#924EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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