#2F66C5#2F66C5

#2F66C5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.160 H 260.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F66C5
RGBrgb(47, 102, 197)
HSLhsl(218, 61%, 48%)
HSVhsv(218, 76%, 77%)
CMYKcmyk(76.1%, 48.2%, 0%, 22.7%)
CIE-LABlab(44.43, 15.60, -54.80)
CIE-LCHlch(44.43, 56.98, 285.89°)
OKLaboklab(52.6% -0.0263 -0.1574)
OKLCHoklch(52.6% 0.16 260.5)
XYZxyz(15.9981, 14.1365, 54.6980)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66C5 #C58E2F
analogous
#2FB1C5 #2F66C5 #432FC5
triadic
#2F66C5 #C52F66 #66C52F
tetradic
#2F66C5 #C52FB1 #C58E2F #2FC543
square
#2F66C5 #C52FB1 #C58E2F #2FC543
split-complementary
#2F66C5 #C5432F #B1C52F
monochromatic
#173362 #234C94 #2F66C5 #5A88D8 #8BABE3

Accessibility & contrast

On white

5.49
#2F66C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2F66C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66C5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66C5#FFFFFF#000000##FFFFFF
##2F66C51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3070C9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f66c5;
/* rgb */ color: rgb(47, 102, 197);
/* oklch */ color: oklch(52.6% 0.160 260.5);
Tailwind
colors: {
  custom: {
    50: '#7d91d7',
    500: '#2f66c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f66c5;
$custom-light: #7d91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66c5",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 197
  },
  "hsl": {
    "h": 218,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.15961,
    "h": 260.5
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#2F66C5
secondary
#CDB282
accent
#A943E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F66C5

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

Preview Lab → · Contrast checker → · Palette generator →

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