#338DD6#338DD6

#338DD6 is a light, vivid cyan. Relative luminance 0.246; OKLCH L 62.5% C 0.139 H 247.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#338DD6
RGBrgb(51, 141, 214)
HSLhsl(207, 67%, 52%)
HSVhsv(207, 76%, 84%)
CMYKcmyk(76.2%, 34.1%, 0%, 16.1%)
CIE-LABlab(56.69, -1.63, -44.90)
CIE-LCHlch(56.69, 44.93, 267.92°)
OKLaboklab(62.49% -0.0538 -0.1277)
OKLCHoklch(62.49% 0.139 247.1)
XYZxyz(23.0231, 24.6059, 67.1413)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DD6 #D67C33
analogous
#33D6CE #338DD6 #333CD6
triadic
#338DD6 #D6338D #8DD633
tetradic
#338DD6 #CE33D6 #D67C33 #3CD633
square
#338DD6 #CE33D6 #D67C33 #3CD633
split-complementary
#338DD6 #D6333C #D6CE33
monochromatic
#184C77 #226DAA #338DD6 #66A9E0 #99C6EA

Accessibility & contrast

On white

3.55
#338DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#338DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DD6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DD6#FFFFFF#000000##000000
##338DD61.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B90D9
Deuteranopia (green-blind)
#5481D5
Tritanopia (blue-blind)
#009FA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #338dd6;
/* rgb */ color: rgb(51, 141, 214);
/* oklch */ color: oklch(62.5% 0.139 247.1);
Tailwind
colors: {
  custom: {
    50: '#81aee3',
    500: '#338dd6',
    950: '#000000',
  },
}
SCSS
$custom: #338dd6;
$custom-light: #81aee3;
$custom-dark: #000000;
JSON
{
  "hex": "#338dd6",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 214
  },
  "hsl": {
    "h": 206.871,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62486,
    "c": 0.13852,
    "h": 247.1
  },
  "luminance": 0.24609
}

Semantic roles & 50–950 ramp

primary
#338DD6
secondary
#D6AF8F
accent
#8B3EE9
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #338DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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