#338097#338097

#338097 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.2% C 0.082 H 220.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#338097
RGBrgb(51, 128, 151)
HSLhsl(194, 50%, 40%)
HSVhsv(194, 66%, 59%)
CMYKcmyk(66.2%, 15.2%, 0%, 40.8%)
CIE-LABlab(49.95, -16.06, -19.33)
CIE-LCHlch(49.95, 25.14, 230.27°)
OKLaboklab(56.2% -0.0622 -0.0539)
OKLCHoklch(56.2% 0.082 220.9)
XYZxyz(14.6681, 18.3750, 32.0458)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338097 #974A33
analogous
#33977C #338097 #334E97
triadic
#338097 #973380 #809733
tetradic
#338097 #7C3397 #974A33 #4E9733
square
#338097 #7C3397 #974A33 #4E9733
split-complementary
#338097 #97334E #977C33
monochromatic
#14323C #245969 #338097 #47A5C1 #74BBD0

Accessibility & contrast

On white

4.49
#338097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#338097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338097
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338097#FFFFFF#000000##000000
##3380971.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D98
Deuteranopia (green-blind)
#647297
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338097;
/* rgb */ color: rgb(51, 128, 151);
/* oklch */ color: oklch(56.2% 0.082 220.9);
Tailwind
colors: {
  custom: {
    50: '#77a5b5',
    500: '#338097',
    950: '#000000',
  },
}
SCSS
$custom: #338097;
$custom-light: #77a5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#338097",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 151
  },
  "hsl": {
    "h": 193.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56204,
    "c": 0.08227,
    "h": 220.9
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#338097
secondary
#B87F6D
accent
#6F4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #338097

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

Preview Lab → · Contrast checker → · Palette generator →

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