#338BC0#338BC0

#338BC0 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.8% C 0.115 H 239.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#338BC0
RGBrgb(51, 139, 192)
HSLhsl(203, 58%, 48%)
HSVhsv(203, 73%, 75%)
CMYKcmyk(73.4%, 27.6%, 0%, 24.7%)
CIE-LABlab(55.04, -8.29, -35.07)
CIE-LCHlch(55.04, 36.03, 256.70°)
OKLaboklab(60.84% -0.0586 -0.099)
OKLCHoklch(60.84% 0.115 239.4)
XYZxyz(20.1086, 22.9725, 53.2333)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BC0 #C06833
analogous
#33C0AE #338BC0 #3345C0
triadic
#338BC0 #C0338B #8BC033
tetradic
#338BC0 #AE33C0 #C06833 #45C033
square
#338BC0 #AE33C0 #C06833 #45C033
split-complementary
#338BC0 #C03345 #C0AE33
monochromatic
#19455F #266890 #338BC0 #5CA7D4 #8DC1E1

Accessibility & contrast

On white

3.75
#338BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#338BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BC0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BC0#FFFFFF#000000##000000
##338BC01.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC2
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#00989D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338bc0;
/* rgb */ color: rgb(51, 139, 192);
/* oklch */ color: oklch(60.8% 0.115 239.4);
Tailwind
colors: {
  custom: {
    50: '#7dacd3',
    500: '#338bc0',
    950: '#000000',
  },
}
SCSS
$custom: #338bc0;
$custom-light: #7dacd3;
$custom-dark: #000000;
JSON
{
  "hex": "#338bc0",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 192
  },
  "hsl": {
    "h": 202.553,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.11504,
    "h": 239.4
  },
  "luminance": 0.22975
}

Semantic roles & 50–950 ramp

primary
#338BC0
secondary
#CB9F84
accent
#8147E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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