#3381B2#3381B2

#3381B2 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.7% C 0.107 H 240.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3381B2
RGBrgb(51, 129, 178)
HSLhsl(203, 55%, 45%)
HSVhsv(203, 71%, 70%)
CMYKcmyk(71.3%, 27.5%, 0%, 30.2%)
CIE-LABlab(51.40, -7.44, -32.75)
CIE-LCHlch(51.40, 33.59, 257.20°)
OKLaboklab(57.74% -0.0533 -0.0924)
OKLCHoklch(57.74% 0.107 240)
XYZxyz(17.2483, 19.6168, 44.9882)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3381B2 #B26433
analogous
#33B2A4 #3381B2 #3341B2
triadic
#3381B2 #B23381 #81B233
tetradic
#3381B2 #A433B2 #B26433 #41B233
square
#3381B2 #A433B2 #B26433 #41B233
split-complementary
#3381B2 #B23341 #B2A433
monochromatic
#183C53 #255F82 #3381B2 #549FCE #84BADC

Accessibility & contrast

On white

4.26
#3381B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3381B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3381B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3381B2#FFFFFF#000000##000000
##3381B21.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3381b2;
/* rgb */ color: rgb(51, 129, 178);
/* oklch */ color: oklch(57.7% 0.107 240.0);
Tailwind
colors: {
  custom: {
    50: '#7ba5c9',
    500: '#3381b2',
    950: '#000000',
  },
}
SCSS
$custom: #3381b2;
$custom-light: #7ba5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3381b2",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 203.15,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.10666,
    "h": 240
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#3381B2
secondary
#C5987C
accent
#8349DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #3381B2

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

Preview Lab → · Contrast checker → · Palette generator →

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