#2F5F7E#2F5F7E

#2F5F7E is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.073 H 239.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2F5F7E
RGBrgb(47, 95, 126)
HSLhsl(204, 46%, 34%)
HSVhsv(204, 63%, 49%)
CMYKcmyk(62.7%, 24.6%, 0%, 50.6%)
CIE-LABlab(38.37, -6.19, -22.27)
CIE-LCHlch(38.37, 23.11, 254.46°)
OKLaboklab(46.58% -0.0371 -0.0624)
OKLCHoklch(46.58% 0.073 239.3)
XYZxyz(9.0290, 10.2943, 21.2458)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F7E #7E4E2F
analogous
#2F7E76 #2F5F7E #2F387E
triadic
#2F5F7E #7E2F5F #5F7E2F
tetradic
#2F5F7E #762F7E #7E4E2F #387E2F
square
#2F5F7E #762F7E #7E4E2F #387E2F
split-complementary
#2F5F7E #7E2F38 #7E762F
monochromatic
#0E1C25 #1E3D51 #2F5F7E #4081AB #639EC5

Accessibility & contrast

On white

6.86
#2F5F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2F5F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F7E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F7E#FFFFFF#000000##FFFFFF
##2F5F7E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5f7e;
/* rgb */ color: rgb(47, 95, 126);
/* oklch */ color: oklch(46.6% 0.073 239.3);
Tailwind
colors: {
  custom: {
    50: '#6f8ca3',
    500: '#2f5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f7e;
$custom-light: #6f8ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f7e",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 203.544,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.07264,
    "h": 239.3
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#2F5F7E
secondary
#AC7C5D
accent
#8652D5
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2F5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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