#2F66B8#2F66B8

#2F66B8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.7% C 0.142 H 258.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F66B8
RGBrgb(47, 102, 184)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 74%, 72%)
CMYKcmyk(74.5%, 44.6%, 0%, 27.8%)
CIE-LABlab(43.60, 10.69, -48.59)
CIE-LCHlch(43.60, 49.75, 282.41°)
OKLaboklab(51.7% -0.0285 -0.1391)
OKLCHoklch(51.7% 0.142 258.4)
XYZxyz(14.5722, 13.5661, 47.1886)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66B8 #B8812F
analogous
#2FABB8 #2F66B8 #3C2FB8
triadic
#2F66B8 #B82F66 #66B82F
tetradic
#2F66B8 #B82FAB #B8812F #2FB83C
square
#2F66B8 #B82FAB #B8812F #2FB83C
split-complementary
#2F66B8 #B83C2F #ABB82F
monochromatic
#163057 #234B87 #2F66B8 #5285D3 #82A8DF

Accessibility & contrast

On white

5.65
#2F66B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F66B8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66B8#FFFFFF#000000##FFFFFF
##2F66B81.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f66b8;
/* rgb */ color: rgb(47, 102, 184);
/* oklch */ color: oklch(51.7% 0.142 258.4);
Tailwind
colors: {
  custom: {
    50: '#7a91ce',
    500: '#2f66b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f66b8;
$custom-light: #7a91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66b8",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 215.912,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.517,
    "c": 0.14203,
    "h": 258.4
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F66B8

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

Preview Lab → · Contrast checker → · Palette generator →

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