#337399#337399

#337399 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.1% C 0.088 H 237.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#337399
RGBrgb(51, 115, 153)
HSLhsl(202, 50%, 40%)
HSVhsv(202, 67%, 60%)
CMYKcmyk(66.7%, 24.8%, 0%, 40%)
CIE-LABlab(45.99, -8.00, -26.61)
CIE-LCHlch(45.99, 27.79, 253.27°)
OKLaboklab(53.08% -0.0472 -0.0748)
OKLCHoklch(53.08% 0.088 237.8)
XYZxyz(13.2435, 15.2638, 32.3791)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337399 #995933
analogous
#33998C #337399 #334099
triadic
#337399 #993373 #739933
tetradic
#337399 #8C3399 #995933 #409933
square
#337399 #8C3399 #995933 #409933
split-complementary
#337399 #993340 #998C33
monochromatic
#142E3D #24506B #337399 #4794C2 #75AFD1

Accessibility & contrast

On white

5.18
#337399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#337399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337399
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337399#FFFFFF#000000##FFFFFF
##3373991.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61739B
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337399;
/* rgb */ color: rgb(51, 115, 153);
/* oklch */ color: oklch(53.1% 0.088 237.8);
Tailwind
colors: {
  custom: {
    50: '#769bb7',
    500: '#337399',
    950: '#000000',
  },
}
SCSS
$custom: #337399;
$custom-light: #769bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#337399",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 202.353,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.0884,
    "h": 237.8
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#337399
secondary
#B98A6E
accent
#824EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337399

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

Preview Lab → · Contrast checker → · Palette generator →

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