#338ABD#338ABD

#338ABD is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.4% C 0.113 H 238.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#338ABD
RGBrgb(51, 138, 189)
HSLhsl(202, 58%, 47%)
HSVhsv(202, 73%, 74%)
CMYKcmyk(73%, 27%, 0%, 25.9%)
CIE-LABlab(54.61, -8.77, -34.04)
CIE-LCHlch(54.61, 35.15, 255.55°)
OKLaboklab(60.45% -0.0586 -0.0961)
OKLCHoklch(60.45% 0.113 238.6)
XYZxyz(19.6354, 22.5526, 51.4525)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338ABD #BD6633
analogous
#33BDAB #338ABD #3345BD
triadic
#338ABD #BD338A #8ABD33
tetradic
#338ABD #AB33BD #BD6633 #45BD33
square
#338ABD #AB33BD #BD6633 #45BD33
split-complementary
#338ABD #BD3345 #BDAB33
monochromatic
#19445D #26678D #338ABD #5BA6D3 #8BC0E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338ABD#FFFFFF#000000##000000
##338ABD1.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)
#728ABF
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#00979C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338abd;
/* rgb */ color: rgb(51, 138, 189);
/* oklch */ color: oklch(60.4% 0.113 238.6);
Tailwind
colors: {
  custom: {
    50: '#7dacd1',
    500: '#338abd',
    950: '#000000',
  },
}
SCSS
$custom: #338abd;
$custom-light: #7dacd1;
$custom-dark: #000000;
JSON
{
  "hex": "#338abd",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 189
  },
  "hsl": {
    "h": 202.174,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.11251,
    "h": 238.6
  },
  "luminance": 0.22555
}

Semantic roles & 50–950 ramp

primary
#338ABD
secondary
#CA9D82
accent
#8047E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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