#337287#337287

#337287 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.0% C 0.072 H 222.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#337287
RGBrgb(51, 114, 135)
HSLhsl(195, 45%, 36%)
HSVhsv(195, 62%, 53%)
CMYKcmyk(62.2%, 15.6%, 0%, 47.1%)
CIE-LABlab(44.92, -13.49, -17.58)
CIE-LCHlch(44.92, 22.16, 232.50°)
OKLaboklab(51.97% -0.0529 -0.0489)
OKLCHoklch(51.97% 0.072 222.8)
XYZxyz(11.7540, 14.4865, 25.0937)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337287 #874833
analogous
#338772 #337287 #334887
triadic
#337287 #873372 #728733
tetradic
#337287 #723387 #874833 #488733
square
#337287 #723387 #874833 #488733
split-complementary
#337287 #873348 #877233
monochromatic
#11272E #224C5B #337287 #4498B3 #6DB1C8

Accessibility & contrast

On white

5.39
#337287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#337287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337287
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337287#FFFFFF#000000##FFFFFF
##3372871.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F88
Deuteranopia (green-blind)
#5A6687
Tritanopia (blue-blind)
#007979
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337287;
/* rgb */ color: rgb(51, 114, 135);
/* oklch */ color: oklch(52.0% 0.072 222.8);
Tailwind
colors: {
  custom: {
    50: '#749aaa',
    500: '#337287',
    950: '#000000',
  },
}
SCSS
$custom: #337287;
$custom-light: #749aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#337287",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 135
  },
  "hsl": {
    "h": 195,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.07208,
    "h": 222.8
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#337287
secondary
#B07966
accent
#7353D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337287

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

Preview Lab → · Contrast checker → · Palette generator →

#337287 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva