#338099#338099

#338099 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.084 H 222.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338099
RGBrgb(51, 128, 153)
HSLhsl(195, 50%, 40%)
HSVhsv(195, 67%, 60%)
CMYKcmyk(66.7%, 16.3%, 0%, 40%)
CIE-LABlab(50.03, -15.41, -20.38)
CIE-LCHlch(50.03, 25.55, 232.91°)
OKLaboklab(56.29% -0.0614 -0.0569)
OKLCHoklch(56.29% 0.084 222.8)
XYZxyz(14.8319, 18.4405, 32.9085)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338099 #994C33
analogous
#33997F #338099 #334D99
triadic
#338099 #993380 #809933
tetradic
#338099 #7F3399 #994C33 #4D9933
square
#338099 #7F3399 #994C33 #4D9933
split-complementary
#338099 #99334D #997F33
monochromatic
#14333D #245A6B #338099 #47A4C2 #75BBD1

Accessibility & contrast

On white

4.48
#338099 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338099 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338099
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338099#FFFFFF#000000##000000
##3380991.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D9A
Deuteranopia (green-blind)
#637299
Tritanopia (blue-blind)
#008888
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338099;
/* rgb */ color: rgb(51, 128, 153);
/* oklch */ color: oklch(56.3% 0.084 222.8);
Tailwind
colors: {
  custom: {
    50: '#77a5b7',
    500: '#338099',
    950: '#000000',
  },
}
SCSS
$custom: #338099;
$custom-light: #77a5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#338099",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 153
  },
  "hsl": {
    "h": 194.706,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.08365,
    "h": 222.8
  },
  "luminance": 0.18442
}

Semantic roles & 50–950 ramp

primary
#338099
secondary
#B9816E
accent
#704EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #338099

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

Preview Lab → · Contrast checker → · Palette generator →

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