#2C66B8#2C66B8

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

Color values

HEX#2C66B8
RGBrgb(44, 102, 184)
HSLhsl(215, 61%, 45%)
HSVhsv(215, 76%, 72%)
CMYKcmyk(76.1%, 44.6%, 0%, 27.8%)
CIE-LABlab(43.50, 10.31, -48.75)
CIE-LCHlch(43.50, 49.83, 281.94°)
OKLaboklab(51.59% -0.0305 -0.1397)
OKLCHoklch(51.59% 0.143 257.7)
XYZxyz(14.4386, 13.4973, 47.1824)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C66B8 #B87E2C
analogous
#2CACB8 #2C66B8 #382CB8
triadic
#2C66B8 #B82C66 #66B82C
tetradic
#2C66B8 #B82CAC #B87E2C #2CB838
square
#2C66B8 #B82CAC #B87E2C #2CB838
split-complementary
#2C66B8 #B8382C #ACB82C
monochromatic
#142F55 #204B87 #2C66B8 #4D85D4 #7EA7E0

Accessibility & contrast

On white

5.68
#2C66B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2C66B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C66B8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C66B8#FFFFFF#000000##FFFFFF
##2C66B81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c66b8;
/* rgb */ color: rgb(44, 102, 184);
/* oklch */ color: oklch(51.6% 0.143 257.7);
Tailwind
colors: {
  custom: {
    50: '#7991ce',
    500: '#2c66b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c66b8;
$custom-light: #7991ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c66b8",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 215.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.14297,
    "h": 257.7
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#2C66B8
secondary
#C9A777
accent
#A243E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C66B8

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

Preview Lab → · Contrast checker → · Palette generator →

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