#338EB0#338EB0

#338EB0 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.098 H 226.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#338EB0
RGBrgb(51, 142, 176)
HSLhsl(196, 55%, 45%)
HSVhsv(196, 71%, 69%)
CMYKcmyk(71%, 19.3%, 0%, 31%)
CIE-LABlab(55.26, -15.46, -25.61)
CIE-LCHlch(55.26, 29.92, 238.88°)
OKLaboklab(60.78% -0.0672 -0.0717)
OKLCHoklch(60.78% 0.098 226.9)
XYZxyz(18.8715, 23.1823, 44.5459)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338EB0 #B05533
analogous
#33B094 #338EB0 #3350B0
triadic
#338EB0 #B0338E #8EB033
tetradic
#338EB0 #9433B0 #B05533 #50B033
square
#338EB0 #9433B0 #B05533 #50B033
split-complementary
#338EB0 #B03350 #B09433
monochromatic
#184151 #256881 #338EB0 #53ACCD #82C3DB

Accessibility & contrast

On white

3.73
#338EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#338EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338EB0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338EB0#FFFFFF#000000##000000
##338EB01.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB2
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338eb0;
/* rgb */ color: rgb(51, 142, 176);
/* oklch */ color: oklch(60.8% 0.098 226.9);
Tailwind
colors: {
  custom: {
    50: '#7bafc7',
    500: '#338eb0',
    950: '#000000',
  },
}
SCSS
$custom: #338eb0;
$custom-light: #7bafc7;
$custom-dark: #000000;
JSON
{
  "hex": "#338eb0",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 176
  },
  "hsl": {
    "h": 196.32,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60784,
    "c": 0.09829,
    "h": 226.9
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#338EB0
secondary
#C48F7B
accent
#7249DE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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