#338DBF#338DBF

#338DBF is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.3% C 0.113 H 237.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#338DBF
RGBrgb(51, 141, 191)
HSLhsl(201, 58%, 47%)
HSVhsv(201, 73%, 75%)
CMYKcmyk(73.3%, 26.2%, 0%, 25.1%)
CIE-LABlab(55.60, -9.78, -33.64)
CIE-LCHlch(55.60, 35.03, 253.79°)
OKLaboklab(61.26% -0.0608 -0.0948)
OKLCHoklch(61.26% 0.113 237.3)
XYZxyz(20.2904, 23.5128, 52.7492)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DBF #BF6533
analogous
#33BFAB #338DBF #3347BF
triadic
#338DBF #BF338D #8DBF33
tetradic
#338DBF #AB33BF #BF6533 #47BF33
square
#338DBF #AB33BF #BF6533 #47BF33
split-complementary
#338DBF #BF3347 #BFAB33
monochromatic
#19465E #26698F #338DBF #5CA9D3 #8CC2E0

Accessibility & contrast

On white

3.68
#338DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#338DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DBF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DBF#FFFFFF#000000##000000
##338DBF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#758DC1
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#009A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #338dbf;
/* rgb */ color: rgb(51, 141, 191);
/* oklch */ color: oklch(61.3% 0.113 237.3);
Tailwind
colors: {
  custom: {
    50: '#7daed2',
    500: '#338dbf',
    950: '#000000',
  },
}
SCSS
$custom: #338dbf;
$custom-light: #7daed2;
$custom-dark: #000000;
JSON
{
  "hex": "#338dbf",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 191
  },
  "hsl": {
    "h": 201.429,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.11269,
    "h": 237.3
  },
  "luminance": 0.23515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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