#2F68C2#2F68C2

#2F68C2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.8% C 0.153 H 259.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2F68C2
RGBrgb(47, 104, 194)
HSLhsl(217, 61%, 47%)
HSVhsv(217, 76%, 76%)
CMYKcmyk(75.8%, 46.4%, 0%, 23.9%)
CIE-LABlab(44.80, 13.19, -52.47)
CIE-LCHlch(44.80, 54.11, 284.11°)
OKLaboklab(52.82% -0.0284 -0.1505)
OKLCHoklch(52.82% 0.153 259.3)
XYZxyz(15.8567, 14.3982, 52.9719)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68C2 #C2892F
analogous
#2FB1C2 #2F68C2 #402FC2
triadic
#2F68C2 #C22F68 #68C22F
tetradic
#2F68C2 #C22FB1 #C2892F #2FC240
square
#2F68C2 #C22FB1 #C2892F #2FC240
split-complementary
#2F68C2 #C2402F #B1C22F
monochromatic
#17335F #234E91 #2F68C2 #5889D6 #89ACE2

Accessibility & contrast

On white

5.41
#2F68C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2F68C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68C2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68C2#FFFFFF#000000##FFFFFF
##2F68C21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#1364C0
Tritanopia (blue-blind)
#007D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f68c2;
/* rgb */ color: rgb(47, 104, 194);
/* oklch */ color: oklch(52.8% 0.153 259.3);
Tailwind
colors: {
  custom: {
    50: '#7c92d5',
    500: '#2f68c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f68c2;
$custom-light: #7c92d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68c2",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 194
  },
  "hsl": {
    "h": 216.735,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.1532,
    "h": 259.3
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#2F68C2
secondary
#CCAF81
accent
#A644E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F68C2

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

Preview Lab → · Contrast checker → · Palette generator →

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