#338EC0#338EC0

#338EC0 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.6% C 0.113 H 237.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#338EC0
RGBrgb(51, 142, 192)
HSLhsl(201, 58%, 48%)
HSVhsv(201, 73%, 75%)
CMYKcmyk(73.4%, 26%, 0%, 24.7%)
CIE-LABlab(55.94, -10.00, -33.67)
CIE-LCHlch(55.94, 35.12, 253.46°)
OKLaboklab(61.55% -0.0615 -0.0949)
OKLCHoklch(61.55% 0.113 237.1)
XYZxyz(20.5489, 23.8532, 53.3801)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338EC0 #C06533
analogous
#33C0AC #338EC0 #3347C0
triadic
#338EC0 #C0338E #8EC033
tetradic
#338EC0 #AC33C0 #C06533 #47C033
square
#338EC0 #AC33C0 #C06533 #47C033
split-complementary
#338EC0 #C03347 #C0AC33
monochromatic
#19465F #266A90 #338EC0 #5CA9D4 #8DC3E1

Accessibility & contrast

On white

3.64
#338EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#338EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338EC0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338EC0#FFFFFF#000000##000000
##338EC01.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC2
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#009B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #338ec0;
/* rgb */ color: rgb(51, 142, 192);
/* oklch */ color: oklch(61.6% 0.113 237.1);
Tailwind
colors: {
  custom: {
    50: '#7dafd3',
    500: '#338ec0',
    950: '#000000',
  },
}
SCSS
$custom: #338ec0;
$custom-light: #7dafd3;
$custom-dark: #000000;
JSON
{
  "hex": "#338ec0",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 201.277,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.1131,
    "h": 237.1
  },
  "luminance": 0.23856
}

Semantic roles & 50–950 ramp

primary
#338EC0
secondary
#CB9D84
accent
#7D47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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