#338DBC#338DBC

#338DBC is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.1% C 0.110 H 235.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#338DBC
RGBrgb(51, 141, 188)
HSLhsl(201, 57%, 47%)
HSVhsv(201, 73%, 74%)
CMYKcmyk(72.9%, 25%, 0%, 26.3%)
CIE-LABlab(55.46, -10.82, -32.14)
CIE-LCHlch(55.46, 33.91, 251.39°)
OKLaboklab(61.11% -0.0619 -0.0905)
OKLCHoklch(61.11% 0.11 235.7)
XYZxyz(19.9636, 23.3821, 51.0283)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DBC #BC6233
analogous
#33BCA7 #338DBC #3349BC
triadic
#338DBC #BC338D #8DBC33
tetradic
#338DBC #A733BC #BC6233 #49BC33
square
#338DBC #A733BC #BC6233 #49BC33
split-complementary
#338DBC #BC3349 #BCA733
monochromatic
#19455C #26698C #338DBC #5AA9D2 #8AC2DF

Accessibility & contrast

On white

3.70
#338DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#338DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DBC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DBC#FFFFFF#000000##000000
##338DBC1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBE
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#00999D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #338dbc;
/* rgb */ color: rgb(51, 141, 188);
/* oklch */ color: oklch(61.1% 0.110 235.7);
Tailwind
colors: {
  custom: {
    50: '#7daed0',
    500: '#338dbc',
    950: '#000000',
  },
}
SCSS
$custom: #338dbc;
$custom-light: #7daed0;
$custom-dark: #000000;
JSON
{
  "hex": "#338dbc",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 188
  },
  "hsl": {
    "h": 200.584,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.10964,
    "h": 235.7
  },
  "luminance": 0.23384
}

Semantic roles & 50–950 ramp

primary
#338DBC
secondary
#C99A81
accent
#7C47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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