#338FD6#338FD6

#338FD6 is a light, vivid cyan. Relative luminance 0.252; OKLCH L 62.9% C 0.137 H 246.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#338FD6
RGBrgb(51, 143, 214)
HSLhsl(206, 67%, 52%)
HSVhsv(206, 76%, 84%)
CMYKcmyk(76.2%, 33.2%, 0%, 16.1%)
CIE-LABlab(57.27, -2.80, -43.99)
CIE-LCHlch(57.27, 44.08, 266.35°)
OKLaboklab(62.94% -0.0556 -0.1249)
OKLCHoklch(62.94% 0.137 246)
XYZxyz(23.3206, 25.2010, 67.2405)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338FD6 #D67A33
analogous
#33D6CC #338FD6 #333ED6
triadic
#338FD6 #D6338F #8FD633
tetradic
#338FD6 #CC33D6 #D67A33 #3ED633
square
#338FD6 #CC33D6 #D67A33 #3ED633
split-complementary
#338FD6 #D6333E #D6CC33
monochromatic
#184D77 #226FAA #338FD6 #66ABE0 #99C7EA

Accessibility & contrast

On white

3.48
#338FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#338FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338FD6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338FD6#FFFFFF#000000##000000
##338FD61.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E92D9
Deuteranopia (green-blind)
#5783D5
Tritanopia (blue-blind)
#00A0A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #338fd6;
/* rgb */ color: rgb(51, 143, 214);
/* oklch */ color: oklch(62.9% 0.137 246.0);
Tailwind
colors: {
  custom: {
    50: '#81afe3',
    500: '#338fd6',
    950: '#000000',
  },
}
SCSS
$custom: #338fd6;
$custom-light: #81afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#338fd6",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 214
  },
  "hsl": {
    "h": 206.135,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62944,
    "c": 0.13675,
    "h": 246
  },
  "luminance": 0.25204
}

Semantic roles & 50–950 ramp

primary
#338FD6
secondary
#D6AE8F
accent
#893EE9
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #338FD6

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

Preview Lab → · Contrast checker → · Palette generator →

#338FD6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva