#338799#338799

#338799 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.084 H 214.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#338799
RGBrgb(51, 135, 153)
HSLhsl(191, 50%, 40%)
HSVhsv(191, 67%, 60%)
CMYKcmyk(66.7%, 11.8%, 0%, 40%)
CIE-LABlab(52.21, -19.21, -17.05)
CIE-LCHlch(52.21, 25.69, 221.58°)
OKLaboklab(58.04% -0.069 -0.0474)
OKLCHoklch(58.04% 0.084 214.5)
XYZxyz(15.7766, 20.3299, 33.2234)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338799 #994533
analogous
#339978 #338799 #335499
triadic
#338799 #993387 #879933
tetradic
#338799 #783399 #994533 #549933
square
#338799 #783399 #994533 #549933
split-complementary
#338799 #993354 #997833
monochromatic
#14363D #245F6B #338799 #47ACC2 #75C1D1

Accessibility & contrast

On white

4.14
#338799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#338799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338799
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338799#FFFFFF#000000##000000
##3387991.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839A
Deuteranopia (green-blind)
#6B7899
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338799;
/* rgb */ color: rgb(51, 135, 153);
/* oklch */ color: oklch(58.0% 0.084 214.5);
Tailwind
colors: {
  custom: {
    50: '#77aab7',
    500: '#338799',
    950: '#000000',
  },
}
SCSS
$custom: #338799;
$custom-light: #77aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#338799",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 153
  },
  "hsl": {
    "h": 190.588,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.08369,
    "h": 214.5
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#338799
secondary
#B97C6E
accent
#674EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338799

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

Preview Lab → · Contrast checker → · Palette generator →

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