#3381D4#3381D4

#3381D4 is a mid, vivid cyan. Relative luminance 0.212; OKLCH L 59.7% C 0.148 H 252.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3381D4
RGBrgb(51, 129, 212)
HSLhsl(211, 65%, 52%)
HSVhsv(211, 76%, 83%)
CMYKcmyk(75.9%, 39.2%, 0%, 16.9%)
CIE-LABlab(53.12, 4.80, -49.44)
CIE-LCHlch(53.12, 49.68, 275.54°)
OKLaboklab(59.65% -0.0437 -0.1411)
OKLCHoklch(59.65% 0.148 252.8)
XYZxyz(21.0947, 21.1553, 65.2462)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3381D4 #D48633
analogous
#33D1D4 #3381D4 #3633D4
triadic
#3381D4 #D43381 #81D433
tetradic
#3381D4 #D433D1 #D48633 #33D436
square
#3381D4 #D433D1 #D48633 #33D436
split-complementary
#3381D4 #D43633 #D1D433
monochromatic
#184574 #2363A7 #3381D4 #66A0DF #98BFE9

Accessibility & contrast

On white

4.01
#3381D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#3381D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3381D4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3381D4#FFFFFF#000000##000000
##3381D41.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D7
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3381d4;
/* rgb */ color: rgb(51, 129, 212);
/* oklch */ color: oklch(59.7% 0.148 252.8);
Tailwind
colors: {
  custom: {
    50: '#81a5e2',
    500: '#3381d4',
    950: '#000000',
  },
}
SCSS
$custom: #3381d4;
$custom-light: #81a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3381d4",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 212
  },
  "hsl": {
    "h": 210.932,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.14774,
    "h": 252.8
  },
  "luminance": 0.21158
}

Semantic roles & 50–950 ramp

primary
#3381D4
secondary
#D5B38E
accent
#9740E8
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3381D4

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

Preview Lab → · Contrast checker → · Palette generator →

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