#338BE2#338BE2

#338BE2 is a light, vivid cyan. Relative luminance 0.247; OKLCH L 62.7% C 0.155 H 251.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#338BE2
RGBrgb(51, 139, 226)
HSLhsl(210, 75%, 54%)
HSVhsv(210, 77%, 89%)
CMYKcmyk(77.4%, 38.5%, 0%, 11.4%)
CIE-LABlab(56.74, 3.89, -51.54)
CIE-LCHlch(56.74, 51.69, 274.32°)
OKLaboklab(62.73% -0.049 -0.1471)
OKLCHoklch(62.73% 0.155 251.6)
XYZxyz(24.3201, 24.6571, 75.4143)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BE2 #E28A33
analogous
#33E2E2 #338BE2 #3334E2
triadic
#338BE2 #E2338B #8BE233
tetradic
#338BE2 #E233E2 #E28A33 #34E233
square
#338BE2 #E233E2 #E28A33 #34E233
split-complementary
#338BE2 #E23334 #E2E233
monochromatic
#134E87 #1B6CBD #338BE2 #69A9EA #9EC8F1

Accessibility & contrast

On white

3.54
#338BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#338BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BE2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BE2#FFFFFF#000000##000000
##338BE21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E6
Deuteranopia (green-blind)
#4681E0
Tritanopia (blue-blind)
#00A0AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #338be2;
/* rgb */ color: rgb(51, 139, 226);
/* oklch */ color: oklch(62.7% 0.155 251.6);
Tailwind
colors: {
  custom: {
    50: '#83aceb',
    500: '#338be2',
    950: '#000000',
  },
}
SCSS
$custom: #338be2;
$custom-light: #83aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#338be2",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 209.829,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.15506,
    "h": 251.6
  },
  "luminance": 0.2466
}

Semantic roles & 50–950 ramp

primary
#338BE2
secondary
#DEB893
accent
#9336F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C1016
muted
#7D7F84

Preview Lab

Preview with #338BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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