#338BC8#338BC8

#338BC8 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.3% C 0.124 H 243.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#338BC8
RGBrgb(51, 139, 200)
HSLhsl(205, 59%, 49%)
HSVhsv(205, 75%, 78%)
CMYKcmyk(74.5%, 30.5%, 0%, 21.6%)
CIE-LABlab(55.42, -5.47, -39.02)
CIE-LCHlch(55.42, 39.40, 262.02°)
OKLaboklab(61.26% -0.056 -0.1105)
OKLCHoklch(61.26% 0.124 243.1)
XYZxyz(21.0191, 23.3367, 58.0290)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BC8 #C87033
analogous
#33C8BB #338BC8 #3340C8
triadic
#338BC8 #C8338B #8BC833
tetradic
#338BC8 #BB33C8 #C87033 #40C833
square
#338BC8 #BB33C8 #C87033 #40C833
split-complementary
#338BC8 #C83340 #C8BB33
monochromatic
#1A4766 #276997 #338BC8 #61A7D7 #92C2E3

Accessibility & contrast

On white

3.71
#338BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#338BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BC8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BC8#FFFFFF#000000##000000
##338BC81.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8CCB
Deuteranopia (green-blind)
#5A7EC7
Tritanopia (blue-blind)
#009AA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #338bc8;
/* rgb */ color: rgb(51, 139, 200);
/* oklch */ color: oklch(61.3% 0.124 243.1);
Tailwind
colors: {
  custom: {
    50: '#7facd9',
    500: '#338bc8',
    950: '#000000',
  },
}
SCSS
$custom: #338bc8;
$custom-light: #7facd9;
$custom-dark: #000000;
JSON
{
  "hex": "#338bc8",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 200
  },
  "hsl": {
    "h": 204.564,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.1239,
    "h": 243.1
  },
  "luminance": 0.23339
}

Semantic roles & 50–950 ramp

primary
#338BC8
secondary
#CEA589
accent
#8645E3
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #338BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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