#2F5F8E#2F5F8E

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

Color values

HEX#2F5F8E
RGBrgb(47, 95, 142)
HSLhsl(210, 50%, 37%)
HSVhsv(210, 67%, 56%)
CMYKcmyk(66.9%, 33.1%, 0%, 44.3%)
CIE-LABlab(39.14, -0.49, -30.77)
CIE-LCHlch(39.14, 30.78, 269.08°)
OKLaboklab(47.45% -0.0318 -0.0871)
OKLCHoklch(47.45% 0.093 249.9)
XYZxyz(10.1452, 10.7407, 27.1245)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F8E #8E5E2F
analogous
#2F8E8E #2F5F8E #2F308E
triadic
#2F5F8E #8E2F5F #5F8E2F
tetradic
#2F5F8E #8E2F8E #8E5E2F #308E2F
square
#2F5F8E #8E2F8E #8E5E2F #308E2F
split-complementary
#2F5F8E #8E2F30 #8E8E2F
monochromatic
#112132 #204060 #2F5F8E #3E7EBC #6A9CCE

Accessibility & contrast

On white

6.67
#2F5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5F8E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F8E#FFFFFF#000000##FFFFFF
##2F5F8E1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5f8e;
/* rgb */ color: rgb(47, 95, 142);
/* oklch */ color: oklch(47.4% 0.093 249.9);
Tailwind
colors: {
  custom: {
    50: '#728caf',
    500: '#2f5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f8e;
$custom-light: #728caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f8e",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 209.684,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.09268,
    "h": 249.9
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#2F5F8E
secondary
#B58C64
accent
#934EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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