#2666DB#2666DB

#2666DB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.191 H 261.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2666DB
RGBrgb(38, 102, 219)
HSLhsl(219, 72%, 50%)
HSVhsv(219, 83%, 86%)
CMYKcmyk(82.6%, 53.4%, 0%, 14.1%)
CIE-LABlab(45.67, 23.06, -65.41)
CIE-LCHlch(45.67, 69.35, 289.42°)
OKLaboklab(53.95% -0.0291 -0.1887)
OKLCHoklch(53.95% 0.191 261.2)
XYZxyz(18.3322, 15.0270, 68.9384)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2666DB #DB9B26
analogous
#26C0DB #2666DB #4126DB
triadic
#2666DB #DB2666 #66DB26
tetradic
#2666DB #DB26C0 #DB9B26 #26DB41
square
#2666DB #DB26C0 #DB9B26 #26DB41
split-complementary
#2666DB #DB4126 #C0DB26
monochromatic
#133573 #1C4DA8 #2666DB #5A8BE4 #8FB0EC

Accessibility & contrast

On white

5.24
#2666DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2666DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2666DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2666DB#FFFFFF#000000##FFFFFF
##2666DB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2666db;
/* rgb */ color: rgb(38, 102, 219);
/* oklch */ color: oklch(54.0% 0.191 261.2);
Tailwind
colors: {
  custom: {
    50: '#7f90e7',
    500: '#2666db',
    950: '#000000',
  },
}
SCSS
$custom: #2666db;
$custom-light: #7f90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2666db",
  "rgb": {
    "r": 38,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 218.785,
    "s": 71.542,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.19098,
    "h": 261.2
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#2666DB
secondary
#D7BA86
accent
#AE3AEE
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2666DB

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

Preview Lab → · Contrast checker → · Palette generator →

#2666DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva