#2F68C9#2F68C9

#2F68C9 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.3% C 0.163 H 260.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2F68C9
RGBrgb(47, 104, 201)
HSLhsl(218, 62%, 49%)
HSVhsv(218, 77%, 79%)
CMYKcmyk(76.6%, 48.3%, 0%, 21.2%)
CIE-LABlab(45.25, 15.83, -55.79)
CIE-LCHlch(45.25, 57.99, 285.84°)
OKLaboklab(53.31% -0.0273 -0.1603)
OKLCHoklch(53.31% 0.163 260.3)
XYZxyz(16.6614, 14.7201, 57.2102)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68C9 #C9902F
analogous
#2FB5C9 #2F68C9 #432FC9
triadic
#2F68C9 #C92F68 #68C92F
tetradic
#2F68C9 #C92FB5 #C9902F #2FC943
square
#2F68C9 #C92FB5 #C9902F #2FC943
split-complementary
#2F68C9 #C9432F #B5C92F
monochromatic
#183566 #234E97 #2F68C9 #5C8AD9 #8EAEE5

Accessibility & contrast

On white

5.32
#2F68C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2F68C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68C9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68C9#FFFFFF#000000##FFFFFF
##2F68C91.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CD
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f68c9;
/* rgb */ color: rgb(47, 104, 201);
/* oklch */ color: oklch(53.3% 0.163 260.3);
Tailwind
colors: {
  custom: {
    50: '#7e92da',
    500: '#2f68c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f68c9;
$custom-light: #7e92da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68c9",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 201
  },
  "hsl": {
    "h": 217.792,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.16259,
    "h": 260.3
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#2F68C9
secondary
#CFB485
accent
#A943E5
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2F68C9

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

Preview Lab → · Contrast checker → · Palette generator →

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