#2F68D2#2F68D2

#2F68D2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.175 H 261.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F68D2
RGBrgb(47, 104, 210)
HSLhsl(219, 64%, 50%)
HSVhsv(219, 78%, 82%)
CMYKcmyk(77.6%, 50.5%, 0%, 17.6%)
CIE-LABlab(45.85, 19.22, -59.98)
CIE-LCHlch(45.85, 62.98, 287.77°)
OKLaboklab(53.96% -0.0261 -0.1726)
OKLCHoklch(53.96% 0.175 261.4)
XYZxyz(17.7513, 15.1560, 62.9501)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68D2 #D2992F
analogous
#2FBAD2 #2F68D2 #472FD2
triadic
#2F68D2 #D22F68 #68D22F
tetradic
#2F68D2 #D22FBA #D2992F #2FD247
square
#2F68D2 #D22FBA #D2992F #2FD247
split-complementary
#2F68D2 #D2472F #BAD22F
monochromatic
#18366F #234FA1 #2F68D2 #618DDD #94B1E8

Accessibility & contrast

On white

5.21
#2F68D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F68D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68D2#FFFFFF#000000##FFFFFF
##2F68D21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2474D6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f68d2;
/* rgb */ color: rgb(47, 104, 210);
/* oklch */ color: oklch(54.0% 0.175 261.4);
Tailwind
colors: {
  custom: {
    50: '#8092e0',
    500: '#2f68d2',
    950: '#000000',
  },
}
SCSS
$custom: #2f68d2;
$custom-light: #8092e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68d2",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 210
  },
  "hsl": {
    "h": 219.018,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.17459,
    "h": 261.4
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#2F68D2
secondary
#D3B98A
accent
#AD40E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F68D2

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

Preview Lab → · Contrast checker → · Palette generator →

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