#338EE2#338EE2

#338EE2 is a light, vivid cyan. Relative luminance 0.255; OKLCH L 63.4% C 0.152 H 250.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#338EE2
RGBrgb(51, 142, 226)
HSLhsl(209, 75%, 54%)
HSVhsv(209, 77%, 89%)
CMYKcmyk(77.4%, 37.2%, 0%, 11.4%)
CIE-LABlab(57.60, 2.11, -50.18)
CIE-LCHlch(57.60, 50.22, 272.41°)
OKLaboklab(63.4% -0.0515 -0.1431)
OKLCHoklch(63.4% 0.152 250.2)
XYZxyz(24.7605, 25.5378, 75.5611)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338EE2 #E28733
analogous
#33E2DE #338EE2 #3337E2
triadic
#338EE2 #E2338E #8EE233
tetradic
#338EE2 #DE33E2 #E28733 #37E233
square
#338EE2 #DE33E2 #E28733 #37E233
split-complementary
#338EE2 #E23337 #E2DE33
monochromatic
#135087 #1B6FBD #338EE2 #69ACEA #9EC9F1

Accessibility & contrast

On white

3.44
#338EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#338EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338EE2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338EE2#FFFFFF#000000##000000
##338EE21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E5
Deuteranopia (green-blind)
#4C83E0
Tritanopia (blue-blind)
#00A2AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #338ee2;
/* rgb */ color: rgb(51, 142, 226);
/* oklch */ color: oklch(63.4% 0.152 250.2);
Tailwind
colors: {
  custom: {
    50: '#83aeeb',
    500: '#338ee2',
    950: '#000000',
  },
}
SCSS
$custom: #338ee2;
$custom-light: #83aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#338ee2",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 208.8,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.634,
    "c": 0.15208,
    "h": 250.2
  },
  "luminance": 0.25541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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