#338299#338299

#338299 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 56.8% C 0.083 H 220.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#338299
RGBrgb(51, 130, 153)
HSLhsl(194, 50%, 40%)
HSVhsv(194, 67%, 60%)
CMYKcmyk(66.7%, 15%, 0%, 40%)
CIE-LABlab(50.65, -16.51, -19.43)
CIE-LCHlch(50.65, 25.49, 229.64°)
OKLaboklab(56.79% -0.0635 -0.0541)
OKLCHoklch(56.79% 0.083 220.4)
XYZxyz(15.0953, 18.9674, 32.9963)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338299 #994A33
analogous
#33997D #338299 #334F99
triadic
#338299 #993382 #829933
tetradic
#338299 #7D3399 #994A33 #4F9933
square
#338299 #7D3399 #994A33 #4F9933
split-complementary
#338299 #99334F #997D33
monochromatic
#14343D #245B6B #338299 #47A6C2 #75BCD1

Accessibility & contrast

On white

4.38
#338299 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#338299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338299
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338299#FFFFFF#000000##000000
##3382991.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#747F9A
Deuteranopia (green-blind)
#667499
Tritanopia (blue-blind)
#008A89
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338299;
/* rgb */ color: rgb(51, 130, 153);
/* oklch */ color: oklch(56.8% 0.083 220.4);
Tailwind
colors: {
  custom: {
    50: '#77a6b7',
    500: '#338299',
    950: '#000000',
  },
}
SCSS
$custom: #338299;
$custom-light: #77a6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#338299",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 153
  },
  "hsl": {
    "h": 193.529,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.08348,
    "h": 220.4
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#338299
secondary
#B97F6E
accent
#6E4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #338299

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

Preview Lab → · Contrast checker → · Palette generator →

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