#2F66B7#2F66B7

#2F66B7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.141 H 258.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F66B7
RGBrgb(47, 102, 183)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 74%, 72%)
CMYKcmyk(74.3%, 44.3%, 0%, 28.2%)
CIE-LABlab(43.54, 10.32, -48.10)
CIE-LCHlch(43.54, 49.20, 282.10°)
OKLaboklab(51.63% -0.0287 -0.1377)
OKLCHoklch(51.63% 0.141 258.2)
XYZxyz(14.4678, 13.5244, 46.6385)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66B7 #B7802F
analogous
#2FAAB7 #2F66B7 #3C2FB7
triadic
#2F66B7 #B72F66 #66B72F
tetradic
#2F66B7 #B72FAA #B7802F #2FB73C
square
#2F66B7 #B72FAA #B7802F #2FB73C
split-complementary
#2F66B7 #B73C2F #AAB72F
monochromatic
#163056 #224B86 #2F66B7 #5185D2 #82A7DF

Accessibility & contrast

On white

5.67
#2F66B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2F66B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66B7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66B7#FFFFFF#000000##FFFFFF
##2F66B71.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f66b7;
/* rgb */ color: rgb(47, 102, 183);
/* oklch */ color: oklch(51.6% 0.141 258.2);
Tailwind
colors: {
  custom: {
    50: '#7a91cd',
    500: '#2f66b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f66b7;
$custom-light: #7a91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66b7",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 215.735,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.14067,
    "h": 258.2
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

primary
#2F66B7
secondary
#C8A87A
accent
#A345E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F66B7

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

Preview Lab → · Contrast checker → · Palette generator →

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