#2F66C3#2F66C3

#2F66C3 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.157 H 260.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F66C3
RGBrgb(47, 102, 195)
HSLhsl(218, 61%, 47%)
HSVhsv(218, 76%, 76%)
CMYKcmyk(75.9%, 47.7%, 0%, 23.5%)
CIE-LABlab(44.30, 14.85, -53.86)
CIE-LCHlch(44.30, 55.87, 285.41°)
OKLaboklab(52.46% -0.0266 -0.1546)
OKLCHoklch(52.46% 0.157 260.2)
XYZxyz(15.7704, 14.0454, 53.4991)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66C3 #C38C2F
analogous
#2FB0C3 #2F66C3 #422FC3
triadic
#2F66C3 #C32F66 #66C32F
tetradic
#2F66C3 #C32FB0 #C38C2F #2FC342
square
#2F66C3 #C32FB0 #C38C2F #2FC342
split-complementary
#2F66C3 #C3422F #B0C32F
monochromatic
#173260 #234C92 #2F66C3 #5887D7 #8AABE3

Accessibility & contrast

On white

5.51
#2F66C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2F66C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66C3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66C3#FFFFFF#000000##FFFFFF
##2F66C31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3270C6
Deuteranopia (green-blind)
#0162C1
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f66c3;
/* rgb */ color: rgb(47, 102, 195);
/* oklch */ color: oklch(52.5% 0.157 260.2);
Tailwind
colors: {
  custom: {
    50: '#7c91d6',
    500: '#2f66c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f66c3;
$custom-light: #7c91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66c3",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 195
  },
  "hsl": {
    "h": 217.703,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.15692,
    "h": 260.2
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#2F66C3
secondary
#CDB181
accent
#A944E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F66C3

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

Preview Lab → · Contrast checker → · Palette generator →

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