#337895#337895

#337895 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.082 H 228.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#337895
RGBrgb(51, 120, 149)
HSLhsl(198, 49%, 39%)
HSVhsv(198, 66%, 58%)
CMYKcmyk(65.8%, 19.5%, 0%, 41.6%)
CIE-LABlab(47.37, -12.25, -22.12)
CIE-LCHlch(47.37, 25.28, 241.01°)
OKLaboklab(54.12% -0.0541 -0.0618)
OKLCHoklch(54.12% 0.082 228.8)
XYZxyz(13.5044, 16.3053, 30.8635)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337895 #955033
analogous
#339581 #337895 #334795
triadic
#337895 #953378 #789533
tetradic
#337895 #813395 #955033 #479533
square
#337895 #813395 #955033 #479533
split-complementary
#337895 #953347 #958133
monochromatic
#142F3A #235367 #337895 #469BC0 #73B4CF

Accessibility & contrast

On white

4.93
#337895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#337895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337895
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337895#FFFFFF#000000##FFFFFF
##3378951.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697696
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337895;
/* rgb */ color: rgb(51, 120, 149);
/* oklch */ color: oklch(54.1% 0.082 228.8);
Tailwind
colors: {
  custom: {
    50: '#769fb4',
    500: '#337895',
    950: '#000000',
  },
}
SCSS
$custom: #337895;
$custom-light: #769fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#337895",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 149
  },
  "hsl": {
    "h": 197.755,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.08219,
    "h": 228.8
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#337895
secondary
#B7836C
accent
#784FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337895

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

Preview Lab → · Contrast checker → · Palette generator →

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