#338EBF#338EBF

#338EBF is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.5% C 0.112 H 236.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#338EBF
RGBrgb(51, 142, 191)
HSLhsl(201, 58%, 47%)
HSVhsv(201, 73%, 75%)
CMYKcmyk(73.3%, 25.7%, 0%, 25.1%)
CIE-LABlab(55.90, -10.34, -33.17)
CIE-LCHlch(55.90, 34.74, 252.68°)
OKLaboklab(61.5% -0.0618 -0.0935)
OKLCHoklch(61.5% 0.112 236.5)
XYZxyz(20.4385, 23.8090, 52.7985)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338EBF #BF6433
analogous
#33BFAA #338EBF #3348BF
triadic
#338EBF #BF338E #8EBF33
tetradic
#338EBF #AA33BF #BF6433 #48BF33
square
#338EBF #AA33BF #BF6433 #48BF33
split-complementary
#338EBF #BF3348 #BFAA33
monochromatic
#19465E #266A8F #338EBF #5CAAD3 #8CC3E0

Accessibility & contrast

On white

3.64
#338EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#338EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338EBF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338EBF#FFFFFF#000000##000000
##338EBF1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DC1
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#009B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #338ebf;
/* rgb */ color: rgb(51, 142, 191);
/* oklch */ color: oklch(61.5% 0.112 236.5);
Tailwind
colors: {
  custom: {
    50: '#7dafd2',
    500: '#338ebf',
    950: '#000000',
  },
}
SCSS
$custom: #338ebf;
$custom-light: #7dafd2;
$custom-dark: #000000;
JSON
{
  "hex": "#338ebf",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 191
  },
  "hsl": {
    "h": 201,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.11208,
    "h": 236.5
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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