#338DB9#338DB9

#338DB9 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.0% C 0.107 H 233.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#338DB9
RGBrgb(51, 141, 185)
HSLhsl(200, 57%, 46%)
HSVhsv(200, 72%, 73%)
CMYKcmyk(72.4%, 23.8%, 0%, 27.5%)
CIE-LABlab(55.33, -11.85, -30.63)
CIE-LCHlch(55.33, 32.85, 248.85°)
OKLaboklab(60.97% -0.0629 -0.0862)
OKLCHoklch(60.97% 0.107 233.9)
XYZxyz(19.6436, 23.2541, 49.3427)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DB9 #B95F33
analogous
#33B9A2 #338DB9 #334AB9
triadic
#338DB9 #B9338D #8DB933
tetradic
#338DB9 #A233B9 #B95F33 #4AB933
square
#338DB9 #A233B9 #B95F33 #4AB933
split-complementary
#338DB9 #B9334A #B9A233
monochromatic
#194459 #266889 #338DB9 #58A9D1 #88C2DE

Accessibility & contrast

On white

3.72
#338DB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#338DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DB9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DB9#FFFFFF#000000##000000
##338DB91.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778CBB
Deuteranopia (green-blind)
#657FB8
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338db9;
/* rgb */ color: rgb(51, 141, 185);
/* oklch */ color: oklch(61.0% 0.107 233.9);
Tailwind
colors: {
  custom: {
    50: '#7caece',
    500: '#338db9',
    950: '#000000',
  },
}
SCSS
$custom: #338db9;
$custom-light: #7caece;
$custom-dark: #000000;
JSON
{
  "hex": "#338db9",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 185
  },
  "hsl": {
    "h": 199.701,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.10668,
    "h": 233.9
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#338DB9
secondary
#C89780
accent
#7A48E0
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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