#2C66B9#2C66B9

#2C66B9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.144 H 257.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2C66B9
RGBrgb(44, 102, 185)
HSLhsl(215, 62%, 45%)
HSVhsv(215, 76%, 73%)
CMYKcmyk(76.2%, 44.9%, 0%, 27.5%)
CIE-LABlab(43.56, 10.69, -49.24)
CIE-LCHlch(43.56, 50.38, 282.25°)
OKLaboklab(51.66% -0.0303 -0.1411)
OKLCHoklch(51.66% 0.144 257.9)
XYZxyz(14.5438, 13.5393, 47.7364)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C66B9 #B97F2C
analogous
#2CADB9 #2C66B9 #382CB9
triadic
#2C66B9 #B92C66 #66B92C
tetradic
#2C66B9 #B92CAD #B97F2C #2CB938
square
#2C66B9 #B92CAD #B97F2C #2CB938
split-complementary
#2C66B9 #B9382C #ADB92C
monochromatic
#142F56 #204B88 #2C66B9 #4D85D5 #7FA7E1

Accessibility & contrast

On white

5.66
#2C66B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C66B9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C66B9#FFFFFF#000000##FFFFFF
##2C66B91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBC
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#007A86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c66b9;
/* rgb */ color: rgb(44, 102, 185);
/* oklch */ color: oklch(51.7% 0.144 257.9);
Tailwind
colors: {
  custom: {
    50: '#7991ce',
    500: '#2c66b9',
    950: '#000000',
  },
}
SCSS
$custom: #2c66b9;
$custom-light: #7991ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c66b9",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 215.319,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.14431,
    "h": 257.9
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#2C66B9
secondary
#C9A878
accent
#A243E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2C66B9

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

Preview Lab → · Contrast checker → · Palette generator →

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