#3371A2#3371A2

#3371A2 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.100 H 245.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3371A2
RGBrgb(51, 113, 162)
HSLhsl(206, 52%, 42%)
HSVhsv(206, 69%, 64%)
CMYKcmyk(68.5%, 30.2%, 0%, 36.5%)
CIE-LABlab(45.80, -3.65, -32.21)
CIE-LCHlch(45.80, 32.42, 263.54°)
OKLaboklab(53.06% -0.042 -0.091)
OKLCHoklch(53.06% 0.1 245.2)
XYZxyz(13.7895, 15.1212, 36.3674)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3371A2 #A26433
analogous
#33A29C #3371A2 #333AA2
triadic
#3371A2 #A23371 #71A233
tetradic
#3371A2 #9C33A2 #A26433 #3AA233
square
#3371A2 #9C33A2 #A26433 #3AA233
split-complementary
#3371A2 #A2333A #A29C33
monochromatic
#163045 #245173 #3371A2 #4C90C7 #7AADD5

Accessibility & contrast

On white

5.22
#3371A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3371A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3371A2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3371A2#FFFFFF#000000##FFFFFF
##3371A21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A4
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3371a2;
/* rgb */ color: rgb(51, 113, 162);
/* oklch */ color: oklch(53.1% 0.100 245.2);
Tailwind
colors: {
  custom: {
    50: '#7799bd',
    500: '#3371a2',
    950: '#000000',
  },
}
SCSS
$custom: #3371a2;
$custom-light: #7799bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3371a2",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 206.486,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.10023,
    "h": 245.2
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#3371A2
secondary
#BE9473
accent
#8C4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3371A2

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

Preview Lab → · Contrast checker → · Palette generator →

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