#2F68C8#2F68C8

#2F68C8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.2% C 0.161 H 260.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F68C8
RGBrgb(47, 104, 200)
HSLhsl(218, 62%, 48%)
HSVhsv(218, 77%, 78%)
CMYKcmyk(76.5%, 48%, 0%, 21.6%)
CIE-LABlab(45.18, 15.45, -55.32)
CIE-LCHlch(45.18, 57.43, 285.61°)
OKLaboklab(53.24% -0.0274 -0.1589)
OKLCHoklch(53.24% 0.161 260.2)
XYZxyz(16.5442, 14.6732, 56.5927)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68C8 #C88F2F
analogous
#2FB4C8 #2F68C8 #422FC8
triadic
#2F68C8 #C82F68 #68C82F
tetradic
#2F68C8 #C82FB4 #C88F2F #2FC842
square
#2F68C8 #C82FB4 #C88F2F #2FC842
split-complementary
#2F68C8 #C8422F #B4C82F
monochromatic
#183465 #234E96 #2F68C8 #5C8AD9 #8DAEE4

Accessibility & contrast

On white

5.34
#2F68C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F68C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68C8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68C8#FFFFFF#000000##FFFFFF
##2F68C81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3272CC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f68c8;
/* rgb */ color: rgb(47, 104, 200);
/* oklch */ color: oklch(53.2% 0.161 260.2);
Tailwind
colors: {
  custom: {
    50: '#7d92d9',
    500: '#2f68c8',
    950: '#000000',
  },
}
SCSS
$custom: #2f68c8;
$custom-light: #7d92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68c8",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 217.647,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.16125,
    "h": 260.2
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#2F68C8
secondary
#CFB384
accent
#A943E5
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2F68C8

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

Preview Lab → · Contrast checker → · Palette generator →

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