#3381AB#3381AB

#3381AB is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.4% C 0.099 H 235.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3381AB
RGBrgb(51, 129, 171)
HSLhsl(201, 54%, 44%)
HSVhsv(201, 70%, 67%)
CMYKcmyk(70.2%, 24.6%, 0%, 32.9%)
CIE-LABlab(51.09, -9.88, -29.20)
CIE-LCHlch(51.09, 30.83, 251.30°)
OKLaboklab(57.39% -0.0557 -0.0821)
OKLCHoklch(57.39% 0.099 235.9)
XYZxyz(16.5633, 19.3428, 41.3808)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3381AB #AB5D33
analogous
#33AB99 #3381AB #3345AB
triadic
#3381AB #AB3381 #81AB33
tetradic
#3381AB #9933AB #AB5D33 #45AB33
square
#3381AB #9933AB #AB5D33 #45AB33
split-complementary
#3381AB #AB3345 #AB9933
monochromatic
#173A4D #255D7C #3381AB #50A0CB #7FBAD9

Accessibility & contrast

On white

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

On black

4.87
#3381AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3381AB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3381AB#FFFFFF#000000##000000
##3381AB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#5D74AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3381ab;
/* rgb */ color: rgb(51, 129, 171);
/* oklch */ color: oklch(57.4% 0.099 235.9);
Tailwind
colors: {
  custom: {
    50: '#79a5c4',
    500: '#3381ab',
    950: '#000000',
  },
}
SCSS
$custom: #3381ab;
$custom-light: #79a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3381ab",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 201,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.09922,
    "h": 235.9
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#3381AB
secondary
#C29278
accent
#7E4ADD
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3381AB

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

Preview Lab → · Contrast checker → · Palette generator →

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