#338DBD#338DBD

#338DBD is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.2% C 0.111 H 236.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#338DBD
RGBrgb(51, 141, 189)
HSLhsl(201, 58%, 47%)
HSVhsv(201, 73%, 74%)
CMYKcmyk(73%, 25.4%, 0%, 25.9%)
CIE-LABlab(55.51, -10.47, -32.64)
CIE-LCHlch(55.51, 34.28, 252.21°)
OKLaboklab(61.16% -0.0615 -0.092)
OKLCHoklch(61.16% 0.111 236.2)
XYZxyz(20.0718, 23.4254, 51.5980)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DBD #BD6333
analogous
#33BDA8 #338DBD #3348BD
triadic
#338DBD #BD338D #8DBD33
tetradic
#338DBD #A833BD #BD6333 #48BD33
square
#338DBD #A833BD #BD6333 #48BD33
split-complementary
#338DBD #BD3348 #BDA833
monochromatic
#19455D #26698D #338DBD #5BA9D3 #8BC2E0

Accessibility & contrast

On white

3.69
#338DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#338DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DBD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DBD#FFFFFF#000000##000000
##338DBD1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBF
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#00999D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #338dbd;
/* rgb */ color: rgb(51, 141, 189);
/* oklch */ color: oklch(61.2% 0.111 236.2);
Tailwind
colors: {
  custom: {
    50: '#7daed1',
    500: '#338dbd',
    950: '#000000',
  },
}
SCSS
$custom: #338dbd;
$custom-light: #7daed1;
$custom-dark: #000000;
JSON
{
  "hex": "#338dbd",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 189
  },
  "hsl": {
    "h": 200.87,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.11064,
    "h": 236.2
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#338DBD
secondary
#CA9B82
accent
#7D47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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