#338DE2#338DE2

#338DE2 is a light, vivid cyan. Relative luminance 0.252; OKLCH L 63.2% C 0.153 H 250.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#338DE2
RGBrgb(51, 141, 226)
HSLhsl(209, 75%, 54%)
HSVhsv(209, 77%, 89%)
CMYKcmyk(77.4%, 37.6%, 0%, 11.4%)
CIE-LABlab(57.31, 2.70, -50.63)
CIE-LCHlch(57.31, 50.71, 273.06°)
OKLaboklab(63.18% -0.0507 -0.1444)
OKLCHoklch(63.18% 0.153 250.7)
XYZxyz(24.6124, 25.2416, 75.5117)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DE2 #E28833
analogous
#33E2E0 #338DE2 #3336E2
triadic
#338DE2 #E2338D #8DE233
tetradic
#338DE2 #E033E2 #E28833 #36E233
square
#338DE2 #E033E2 #E28833 #36E233
split-complementary
#338DE2 #E23336 #E2E033
monochromatic
#134F87 #1B6EBD #338DE2 #69ABEA #9EC9F1

Accessibility & contrast

On white

3.47
#338DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#338DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DE2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DE2#FFFFFF#000000##000000
##338DE21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6592E5
Deuteranopia (green-blind)
#4A82E0
Tritanopia (blue-blind)
#00A1AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #338de2;
/* rgb */ color: rgb(51, 141, 226);
/* oklch */ color: oklch(63.2% 0.153 250.7);
Tailwind
colors: {
  custom: {
    50: '#83adeb',
    500: '#338de2',
    950: '#000000',
  },
}
SCSS
$custom: #338de2;
$custom-light: #83adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#338de2",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 209.143,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63176,
    "c": 0.15306,
    "h": 250.7
  },
  "luminance": 0.25245
}

Semantic roles & 50–950 ramp

primary
#338DE2
secondary
#DEB793
accent
#9136F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C1016
muted
#7D7F84

Preview Lab

Preview with #338DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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