#3381AC#3381AC

#3381AC is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.4% C 0.100 H 236.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3381AC
RGBrgb(51, 129, 172)
HSLhsl(201, 54%, 44%)
HSVhsv(201, 70%, 67%)
CMYKcmyk(70.3%, 25%, 0%, 32.5%)
CIE-LABlab(51.13, -9.54, -29.71)
CIE-LCHlch(51.13, 31.21, 252.21°)
OKLaboklab(57.44% -0.0553 -0.0836)
OKLCHoklch(57.44% 0.1 236.5)
XYZxyz(16.6590, 19.3810, 41.8847)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3381AC #AC5E33
analogous
#33AC9A #3381AC #3344AC
triadic
#3381AC #AC3381 #81AC33
tetradic
#3381AC #9A33AC #AC5E33 #44AC33
square
#3381AC #9A33AC #AC5E33 #44AC33
split-complementary
#3381AC #AC3344 #AC9A33
monochromatic
#173A4E #255E7D #3381AC #51A0CB #80BAD9

Accessibility & contrast

On white

4.31
#3381AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3381AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3381AC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3381AC#FFFFFF#000000##000000
##3381AC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AE
Deuteranopia (green-blind)
#5C75AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3381ac;
/* rgb */ color: rgb(51, 129, 172);
/* oklch */ color: oklch(57.4% 0.100 236.5);
Tailwind
colors: {
  custom: {
    50: '#7aa5c5',
    500: '#3381ac',
    950: '#000000',
  },
}
SCSS
$custom: #3381ac;
$custom-light: #7aa5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3381ac",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 201.322,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.10026,
    "h": 236.5
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#3381AC
secondary
#C29378
accent
#7F4ADE
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3381AC

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

Preview Lab → · Contrast checker → · Palette generator →

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