#2F68C6#2F68C6

#2F68C6 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.1% C 0.159 H 259.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F68C6
RGBrgb(47, 104, 198)
HSLhsl(217, 62%, 48%)
HSVhsv(217, 76%, 78%)
CMYKcmyk(76.3%, 47.5%, 0%, 22.4%)
CIE-LABlab(45.05, 14.70, -54.37)
CIE-LCHlch(45.05, 56.32, 285.13°)
OKLaboklab(53.1% -0.0277 -0.1561)
OKLCHoklch(53.1% 0.159 259.9)
XYZxyz(16.3119, 14.5803, 55.3697)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68C6 #C68D2F
analogous
#2FB3C6 #2F68C6 #412FC6
triadic
#2F68C6 #C62F68 #68C62F
tetradic
#2F68C6 #C62FB3 #C68D2F #2FC641
square
#2F68C6 #C62FB3 #C68D2F #2FC641
split-complementary
#2F68C6 #C6412F #B3C62F
monochromatic
#183463 #234E95 #2F68C6 #5A8AD8 #8CADE4

Accessibility & contrast

On white

5.36
#2F68C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F68C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68C6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68C6#FFFFFF#000000##FFFFFF
##2F68C61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3472C9
Deuteranopia (green-blind)
#0364C4
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f68c6;
/* rgb */ color: rgb(47, 104, 198);
/* oklch */ color: oklch(53.1% 0.159 259.9);
Tailwind
colors: {
  custom: {
    50: '#7d92d8',
    500: '#2f68c6',
    950: '#000000',
  },
}
SCSS
$custom: #2f68c6;
$custom-light: #7d92d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68c6",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 198
  },
  "hsl": {
    "h": 217.351,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.531,
    "c": 0.15858,
    "h": 259.9
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#2F68C6
secondary
#CEB283
accent
#A843E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F68C6

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

Preview Lab → · Contrast checker → · Palette generator →

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