#2F68C1#2F68C1

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

Color values

HEX#2F68C1
RGBrgb(47, 104, 193)
HSLhsl(217, 61%, 47%)
HSVhsv(217, 76%, 76%)
CMYKcmyk(75.6%, 46.1%, 0%, 24.3%)
CIE-LABlab(44.74, 12.81, -52.00)
CIE-LCHlch(44.74, 53.55, 283.84°)
OKLaboklab(52.75% -0.0286 -0.1491)
OKLCHoklch(52.75% 0.152 259.2)
XYZxyz(15.7447, 14.3534, 52.3824)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68C1 #C1882F
analogous
#2FB1C1 #2F68C1 #3F2FC1
triadic
#2F68C1 #C12F68 #68C12F
tetradic
#2F68C1 #C12FB1 #C1882F #2FC13F
square
#2F68C1 #C12FB1 #C1882F #2FC13F
split-complementary
#2F68C1 #C13F2F #B1C12F
monochromatic
#17335F #234D90 #2F68C1 #5789D6 #88ABE2

Accessibility & contrast

On white

5.42
#2F68C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F68C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68C1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68C1#FFFFFF#000000##FFFFFF
##2F68C11.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C4
Deuteranopia (green-blind)
#1664BF
Tritanopia (blue-blind)
#007D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f68c1;
/* rgb */ color: rgb(47, 104, 193);
/* oklch */ color: oklch(52.8% 0.152 259.2);
Tailwind
colors: {
  custom: {
    50: '#7c92d4',
    500: '#2f68c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f68c1;
$custom-light: #7c92d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68c1",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 193
  },
  "hsl": {
    "h": 216.575,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.15185,
    "h": 259.2
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#2F68C1
secondary
#CCAE80
accent
#A544E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F68C1

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

Preview Lab → · Contrast checker → · Palette generator →

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