#337398#337398

#337398 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.087 H 237.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#337398
RGBrgb(51, 115, 152)
HSLhsl(202, 50%, 40%)
HSVhsv(202, 66%, 60%)
CMYKcmyk(66.4%, 24.3%, 0%, 40.4%)
CIE-LABlab(45.95, -8.34, -26.09)
CIE-LCHlch(45.95, 27.39, 252.26°)
OKLaboklab(53.03% -0.0475 -0.0733)
OKLCHoklch(53.03% 0.087 237)
XYZxyz(13.1613, 15.2309, 31.9459)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337398 #985833
analogous
#33988B #337398 #334198
triadic
#337398 #983373 #739833
tetradic
#337398 #8B3398 #985833 #419833
square
#337398 #8B3398 #985833 #419833
split-complementary
#337398 #983341 #988B33
monochromatic
#142E3C #24506A #337398 #4794C1 #75AFD1

Accessibility & contrast

On white

5.19
#337398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337398
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337398#FFFFFF#000000##FFFFFF
##3373981.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62729A
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337398;
/* rgb */ color: rgb(51, 115, 152);
/* oklch */ color: oklch(53.0% 0.087 237.0);
Tailwind
colors: {
  custom: {
    50: '#769bb6',
    500: '#337398',
    950: '#000000',
  },
}
SCSS
$custom: #337398;
$custom-light: #769bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#337398",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 201.98,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.08732,
    "h": 237
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#337398
secondary
#B9896E
accent
#814FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337398

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

Preview Lab → · Contrast checker → · Palette generator →

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