#2F68C5#2F68C5

#2F68C5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.0% C 0.157 H 259.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F68C5
RGBrgb(47, 104, 197)
HSLhsl(217, 61%, 48%)
HSVhsv(217, 76%, 77%)
CMYKcmyk(76.1%, 47.2%, 0%, 22.7%)
CIE-LABlab(44.99, 14.32, -53.90)
CIE-LCHlch(44.99, 55.77, 284.88°)
OKLaboklab(53.03% -0.0279 -0.1547)
OKLCHoklch(53.03% 0.157 259.8)
XYZxyz(16.1970, 14.5343, 54.7643)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68C5 #C58C2F
analogous
#2FB3C5 #2F68C5 #412FC5
triadic
#2F68C5 #C52F68 #68C52F
tetradic
#2F68C5 #C52FB3 #C58C2F #2FC541
square
#2F68C5 #C52FB3 #C58C2F #2FC541
split-complementary
#2F68C5 #C5412F #B3C52F
monochromatic
#173462 #234E94 #2F68C5 #5A89D8 #8BADE3

Accessibility & contrast

On white

5.37
#2F68C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F68C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68C5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68C5#FFFFFF#000000##FFFFFF
##2F68C51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3572C8
Deuteranopia (green-blind)
#0864C3
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f68c5;
/* rgb */ color: rgb(47, 104, 197);
/* oklch */ color: oklch(53.0% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#7d92d7',
    500: '#2f68c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f68c5;
$custom-light: #7d92d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68c5",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 197
  },
  "hsl": {
    "h": 217.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.15724,
    "h": 259.8
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#2F68C5
secondary
#CDB182
accent
#A743E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F68C5

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

Preview Lab → · Contrast checker → · Palette generator →

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