#2F68DF#2F68DF

#2F68DF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.192 H 262.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F68DF
RGBrgb(47, 104, 223)
HSLhsl(221, 73%, 53%)
HSVhsv(221, 79%, 87%)
CMYKcmyk(78.9%, 53.4%, 0%, 12.5%)
CIE-LABlab(46.75, 24.10, -65.91)
CIE-LCHlch(46.75, 70.18, 290.08°)
OKLaboklab(54.94% -0.0247 -0.1901)
OKLCHoklch(54.94% 0.192 262.6)
XYZxyz(19.4371, 15.8304, 71.8289)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68DF #DFA62F
analogous
#2FC0DF #2F68DF #4E2FDF
triadic
#2F68DF #DF2F68 #68DF2F
tetradic
#2F68DF #DF2FC0 #DFA62F #2FDF4E
square
#2F68DF #DF2FC0 #DFA62F #2FDF4E
split-complementary
#2F68DF #DF4E2F #C0DF2F
monochromatic
#143780 #1C4DB5 #2F68DF #648FE7 #99B5EF

Accessibility & contrast

On white

5.04
#2F68DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F68DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68DF#FFFFFF#000000##FFFFFF
##2F68DF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f68df;
/* rgb */ color: rgb(47, 104, 223);
/* oklch */ color: oklch(54.9% 0.192 262.6);
Tailwind
colors: {
  custom: {
    50: '#8292ea',
    500: '#2f68df',
    950: '#000000',
  },
}
SCSS
$custom: #2f68df;
$custom-light: #8292ea;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68df",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 220.568,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.19168,
    "h": 262.6
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#2F68DF
secondary
#DBC28F
accent
#B438F0
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2F68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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