#2F68D8#2F68D8

#2F68D8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.4% C 0.183 H 262.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F68D8
RGBrgb(47, 104, 216)
HSLhsl(220, 68%, 52%)
HSVhsv(220, 78%, 85%)
CMYKcmyk(78.2%, 51.9%, 0%, 15.3%)
CIE-LABlab(46.26, 21.48, -62.74)
CIE-LCHlch(46.26, 66.31, 288.90°)
OKLaboklab(54.41% -0.0254 -0.1807)
OKLCHoklch(54.41% 0.183 262)
XYZxyz(18.5128, 15.4607, 66.9609)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68D8 #D89F2F
analogous
#2FBDD8 #2F68D8 #4B2FD8
triadic
#2F68D8 #D82F68 #68D82F
tetradic
#2F68D8 #D82FBD #D89F2F #2FD84B
square
#2F68D8 #D82FBD #D89F2F #2FD84B
split-complementary
#2F68D8 #D84B2F #BDD82F
monochromatic
#163776 #204EAA #2F68D8 #638DE2 #96B3EB

Accessibility & contrast

On white

5.13
#2F68D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F68D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68D8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68D8#FFFFFF#000000##FFFFFF
##2F68D81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1876DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#008396
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f68d8;
/* rgb */ color: rgb(47, 104, 216);
/* oklch */ color: oklch(54.4% 0.183 262.0);
Tailwind
colors: {
  custom: {
    50: '#8192e5',
    500: '#2f68d8',
    950: '#000000',
  },
}
SCSS
$custom: #2f68d8;
$custom-light: #8192e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68d8",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 216
  },
  "hsl": {
    "h": 219.763,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.18251,
    "h": 262
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#2F68D8
secondary
#D7BD8C
accent
#B03DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2F68D8

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

Preview Lab → · Contrast checker → · Palette generator →

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