#2F6799#2F6799

#2F6799 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.099 H 248.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2F6799
RGBrgb(47, 103, 153)
HSLhsl(208, 53%, 39%)
HSVhsv(208, 69%, 60%)
CMYKcmyk(69.3%, 32.7%, 0%, 40%)
CIE-LABlab(42.16, -1.47, -32.62)
CIE-LCHlch(42.16, 32.65, 267.43°)
OKLaboklab(50.01% -0.037 -0.0923)
OKLCHoklch(50.01% 0.099 248.1)
XYZxyz(11.7702, 12.6035, 31.9432)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6799 #99612F
analogous
#2F9996 #2F6799 #2F3299
triadic
#2F6799 #992F67 #67992F
tetradic
#2F6799 #962F99 #99612F #32992F
square
#2F6799 #962F99 #99612F #32992F
split-complementary
#2F6799 #992F32 #99962F
monochromatic
#12283B #21476A #2F6799 #4186C5 #6FA4D3

Accessibility & contrast

On white

5.96
#2F6799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F6799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6799
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6799#FFFFFF#000000##FFFFFF
##2F67991.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699B
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f6799;
/* rgb */ color: rgb(47, 103, 153);
/* oklch */ color: oklch(50.0% 0.099 248.1);
Tailwind
colors: {
  custom: {
    50: '#7492b7',
    500: '#2f6799',
    950: '#000000',
  },
}
SCSS
$custom: #2f6799;
$custom-light: #7492b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6799",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 208.302,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.09949,
    "h": 248.1
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#2F6799
secondary
#BA9069
accent
#904BDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F6799

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

Preview Lab → · Contrast checker → · Palette generator →

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