#337298#337298

#337298 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.088 H 238.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#337298
RGBrgb(51, 114, 152)
HSLhsl(203, 50%, 40%)
HSVhsv(203, 66%, 60%)
CMYKcmyk(66.4%, 25%, 0%, 40.4%)
CIE-LABlab(45.64, -7.76, -26.57)
CIE-LCHlch(45.64, 27.68, 253.72°)
OKLaboklab(52.78% -0.0464 -0.0746)
OKLCHoklch(52.78% 0.088 238.1)
XYZxyz(13.0479, 15.0041, 31.9081)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337298 #985933
analogous
#33988C #337298 #334098
triadic
#337298 #983372 #729833
tetradic
#337298 #8C3398 #985933 #409833
square
#337298 #8C3398 #985933 #409833
split-complementary
#337298 #983340 #988C33
monochromatic
#142D3C #24506A #337298 #4793C1 #75AED1

Accessibility & contrast

On white

5.25
#337298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#337298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337298
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337298#FFFFFF#000000##FFFFFF
##3372981.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60729A
Deuteranopia (green-blind)
#526897
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337298;
/* rgb */ color: rgb(51, 114, 152);
/* oklch */ color: oklch(52.8% 0.088 238.1);
Tailwind
colors: {
  custom: {
    50: '#769ab6',
    500: '#337298',
    950: '#000000',
  },
}
SCSS
$custom: #337298;
$custom-light: #769ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#337298",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 202.574,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.08791,
    "h": 238.1
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#337298
secondary
#B98A6E
accent
#834FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337298

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

Preview Lab → · Contrast checker → · Palette generator →

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