#338BB6#338BB6

#338BB6 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.105 H 233.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#338BB6
RGBrgb(51, 139, 182)
HSLhsl(200, 56%, 46%)
HSVhsv(200, 72%, 71%)
CMYKcmyk(72%, 23.6%, 0%, 28.6%)
CIE-LABlab(54.60, -11.76, -30.06)
CIE-LCHlch(54.60, 32.28, 248.63°)
OKLaboklab(60.34% -0.062 -0.0845)
OKLCHoklch(60.34% 0.105 233.8)
XYZxyz(19.0380, 22.5443, 47.5950)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BB6 #B65E33
analogous
#33B69F #338BB6 #3349B6
triadic
#338BB6 #B6338B #8BB633
tetradic
#338BB6 #9F33B6 #B65E33 #49B633
square
#338BB6 #9F33B6 #B65E33 #49B633
split-complementary
#338BB6 #B63349 #B69F33
monochromatic
#184256 #266686 #338BB6 #56A8D0 #86C1DD

Accessibility & contrast

On white

3.81
#338BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#338BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BB6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BB6#FFFFFF#000000##000000
##338BB61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB8
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338bb6;
/* rgb */ color: rgb(51, 139, 182);
/* oklch */ color: oklch(60.3% 0.105 233.8);
Tailwind
colors: {
  custom: {
    50: '#7caccc',
    500: '#338bb6',
    950: '#000000',
  },
}
SCSS
$custom: #338bb6;
$custom-light: #7caccc;
$custom-dark: #000000;
JSON
{
  "hex": "#338bb6",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 182
  },
  "hsl": {
    "h": 199.695,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6034,
    "c": 0.10481,
    "h": 233.8
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#338BB6
secondary
#C7967E
accent
#7A48E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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