#338BBC#338BBC

#338BBC is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.111 H 237.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#338BBC
RGBrgb(51, 139, 188)
HSLhsl(201, 57%, 47%)
HSVhsv(201, 73%, 74%)
CMYKcmyk(72.9%, 26.1%, 0%, 26.3%)
CIE-LABlab(54.86, -9.69, -33.07)
CIE-LCHlch(54.86, 34.46, 253.67°)
OKLaboklab(60.64% -0.0599 -0.0932)
OKLCHoklch(60.64% 0.111 237.3)
XYZxyz(19.6714, 22.7976, 50.9308)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BBC #BC6433
analogous
#33BCA9 #338BBC #3347BC
triadic
#338BBC #BC338B #8BBC33
tetradic
#338BBC #A933BC #BC6433 #47BC33
square
#338BBC #A933BC #BC6433 #47BC33
split-complementary
#338BBC #BC3347 #BCA933
monochromatic
#19445C #26678C #338BBC #5AA7D2 #8AC1DF

Accessibility & contrast

On white

3.78
#338BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#338BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BBC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BBC#FFFFFF#000000##000000
##338BBC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBE
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#00989C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338bbc;
/* rgb */ color: rgb(51, 139, 188);
/* oklch */ color: oklch(60.6% 0.111 237.3);
Tailwind
colors: {
  custom: {
    50: '#7dacd0',
    500: '#338bbc',
    950: '#000000',
  },
}
SCSS
$custom: #338bbc;
$custom-light: #7dacd0;
$custom-dark: #000000;
JSON
{
  "hex": "#338bbc",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 188
  },
  "hsl": {
    "h": 201.46,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.11082,
    "h": 237.3
  },
  "luminance": 0.228
}

Semantic roles & 50–950 ramp

primary
#338BBC
secondary
#C99B81
accent
#7E47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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