#3381A2#3381A2

#3381A2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.0% C 0.091 H 229.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3381A2
RGBrgb(51, 129, 162)
HSLhsl(198, 52%, 42%)
HSVhsv(198, 69%, 64%)
CMYKcmyk(68.5%, 20.4%, 0%, 36.5%)
CIE-LABlab(50.70, -12.96, -24.58)
CIE-LCHlch(50.70, 27.79, 242.20°)
OKLaboklab(56.95% -0.0589 -0.0689)
OKLCHoklch(56.95% 0.091 229.4)
XYZxyz(15.7345, 19.0112, 37.0157)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3381A2 #A25433
analogous
#33A28C #3381A2 #334AA2
triadic
#3381A2 #A23381 #81A233
tetradic
#3381A2 #8C33A2 #A25433 #4AA233
square
#3381A2 #8C33A2 #A25433 #4AA233
split-complementary
#3381A2 #A2334A #A28C33
monochromatic
#163745 #245C73 #3381A2 #4CA2C7 #7ABAD5

Accessibility & contrast

On white

4.37
#3381A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#3381A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3381A2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3381A2#FFFFFF#000000##000000
##3381A21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3381a2;
/* rgb */ color: rgb(51, 129, 162);
/* oklch */ color: oklch(57.0% 0.091 229.4);
Tailwind
colors: {
  custom: {
    50: '#78a5bd',
    500: '#3381a2',
    950: '#000000',
  },
}
SCSS
$custom: #3381a2;
$custom-light: #78a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3381a2",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 197.838,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.09064,
    "h": 229.4
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#3381A2
secondary
#BE8973
accent
#774CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3381A2

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

Preview Lab → · Contrast checker → · Palette generator →

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