#338199#338199

#338199 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.5% C 0.084 H 221.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338199
RGBrgb(51, 129, 153)
HSLhsl(194, 50%, 40%)
HSVhsv(194, 67%, 60%)
CMYKcmyk(66.7%, 15.7%, 0%, 40%)
CIE-LABlab(50.34, -15.96, -19.90)
CIE-LCHlch(50.34, 25.51, 231.28°)
OKLaboklab(56.54% -0.0624 -0.0555)
OKLCHoklch(56.54% 0.084 221.6)
XYZxyz(14.9629, 18.7026, 32.9522)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338199 #994B33
analogous
#33997E #338199 #334E99
triadic
#338199 #993381 #819933
tetradic
#338199 #7E3399 #994B33 #4E9933
square
#338199 #7E3399 #994B33 #4E9933
split-complementary
#338199 #99334E #997E33
monochromatic
#14343D #245A6B #338199 #47A5C2 #75BBD1

Accessibility & contrast

On white

4.43
#338199 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#338199 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338199
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338199#FFFFFF#000000##000000
##3381991.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E9A
Deuteranopia (green-blind)
#647399
Tritanopia (blue-blind)
#008989
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338199;
/* rgb */ color: rgb(51, 129, 153);
/* oklch */ color: oklch(56.5% 0.084 221.6);
Tailwind
colors: {
  custom: {
    50: '#77a5b7',
    500: '#338199',
    950: '#000000',
  },
}
SCSS
$custom: #338199;
$custom-light: #77a5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#338199",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 153
  },
  "hsl": {
    "h": 194.118,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.08355,
    "h": 221.6
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#338199
secondary
#B9806E
accent
#6F4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #338199

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

Preview Lab → · Contrast checker → · Palette generator →

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