#2F66DF#2F66DF

#2F66DF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.194 H 263.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F66DF
RGBrgb(47, 102, 223)
HSLhsl(221, 73%, 53%)
HSVhsv(221, 79%, 87%)
CMYKcmyk(78.9%, 54.3%, 0%, 12.5%)
CIE-LABlab(46.22, 25.38, -66.77)
CIE-LCHlch(46.22, 71.43, 290.81°)
OKLaboklab(54.53% -0.0233 -0.1926)
OKLCHoklch(54.53% 0.194 263.1)
XYZxyz(19.2382, 15.4325, 71.7626)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66DF #DFA82F
analogous
#2FBEDF #2F66DF #502FDF
triadic
#2F66DF #DF2F66 #66DF2F
tetradic
#2F66DF #DF2FBE #DFA82F #2FDF50
square
#2F66DF #DF2FBE #DFA82F #2FDF50
split-complementary
#2F66DF #DF502F #BEDF2F
monochromatic
#143680 #1C4CB5 #2F66DF #648DE7 #99B4EF

Accessibility & contrast

On white

5.14
#2F66DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F66DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66DF#FFFFFF#000000##FFFFFF
##2F66DF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#008498
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f66df;
/* rgb */ color: rgb(47, 102, 223);
/* oklch */ color: oklch(54.5% 0.194 263.1);
Tailwind
colors: {
  custom: {
    50: '#8391ea',
    500: '#2f66df',
    950: '#000000',
  },
}
SCSS
$custom: #2f66df;
$custom-light: #8391ea;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66df",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 221.25,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.19406,
    "h": 263.1
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#2F66DF
secondary
#DBC38F
accent
#B638F0
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2F66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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