#2F68D3#2F68D3

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

Color values

HEX#2F68D3
RGBrgb(47, 104, 211)
HSLhsl(219, 65%, 51%)
HSVhsv(219, 78%, 83%)
CMYKcmyk(77.7%, 50.7%, 0%, 17.3%)
CIE-LABlab(45.92, 19.60, -60.44)
CIE-LCHlch(45.92, 63.54, 287.96°)
OKLaboklab(54.04% -0.0259 -0.174)
OKLCHoklch(54.04% 0.176 261.5)
XYZxyz(17.8762, 15.2060, 63.6083)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68D3 #D39A2F
analogous
#2FBAD3 #2F68D3 #482FD3
triadic
#2F68D3 #D32F68 #68D32F
tetradic
#2F68D3 #D32FBA #D39A2F #2FD348
square
#2F68D3 #D32FBA #D39A2F #2FD348
split-complementary
#2F68D3 #D3482F #BAD32F
monochromatic
#183670 #224FA2 #2F68D3 #628DDE #94B1E8

Accessibility & contrast

On white

5.20
#2F68D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F68D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68D3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68D3#FFFFFF#000000##FFFFFF
##2F68D31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2375D7
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f68d3;
/* rgb */ color: rgb(47, 104, 211);
/* oklch */ color: oklch(54.0% 0.176 261.5);
Tailwind
colors: {
  custom: {
    50: '#8092e1',
    500: '#2f68d3',
    950: '#000000',
  },
}
SCSS
$custom: #2f68d3;
$custom-light: #8092e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68d3",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 211
  },
  "hsl": {
    "h": 219.146,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.17591,
    "h": 261.5
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#2F68D3
secondary
#D3BA8A
accent
#AE40E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F68D3

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

Preview Lab → · Contrast checker → · Palette generator →

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