#3381CC#3381CC

#3381CC is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.2% C 0.138 H 250.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3381CC
RGBrgb(51, 129, 204)
HSLhsl(209, 60%, 50%)
HSVhsv(209, 75%, 80%)
CMYKcmyk(75%, 36.8%, 0%, 20%)
CIE-LABlab(52.69, 1.87, -45.60)
CIE-LCHlch(52.69, 45.64, 272.35°)
OKLaboklab(59.18% -0.0456 -0.1299)
OKLCHoklch(59.18% 0.138 250.6)
XYZxyz(20.1105, 20.7616, 60.0625)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3381CC #CC7E33
analogous
#33CCCB #3381CC #3334CC
triadic
#3381CC #CC3381 #81CC33
tetradic
#3381CC #CB33CC #CC7E33 #34CC33
square
#3381CC #CB33CC #CC7E33 #34CC33
split-complementary
#3381CC #CC3334 #CCCB33
monochromatic
#1B436A #27629B #3381CC #649FD8 #95BDE4

Accessibility & contrast

On white

4.08
#3381CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3381CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3381CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3381CC#FFFFFF#000000##000000
##3381CC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3381cc;
/* rgb */ color: rgb(51, 129, 204);
/* oklch */ color: oklch(59.2% 0.138 250.6);
Tailwind
colors: {
  custom: {
    50: '#7fa5dc',
    500: '#3381cc',
    950: '#000000',
  },
}
SCSS
$custom: #3381cc;
$custom-light: #7fa5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3381cc",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 209.412,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.13765,
    "h": 250.6
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#3381CC
secondary
#D0AD8B
accent
#9245E3
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3381CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3381CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva