#338CB9#338CB9

#338CB9 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.7% C 0.107 H 234.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#338CB9
RGBrgb(51, 140, 185)
HSLhsl(200, 57%, 46%)
HSVhsv(200, 72%, 73%)
CMYKcmyk(72.4%, 24.3%, 0%, 27.5%)
CIE-LABlab(55.03, -11.29, -31.10)
CIE-LCHlch(55.03, 33.09, 250.05°)
OKLaboklab(60.73% -0.0619 -0.0875)
OKLCHoklch(60.73% 0.107 234.7)
XYZxyz(19.4968, 22.9605, 49.2938)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338CB9 #B96033
analogous
#33B9A3 #338CB9 #3349B9
triadic
#338CB9 #B9338C #8CB933
tetradic
#338CB9 #A333B9 #B96033 #49B933
square
#338CB9 #A333B9 #B96033 #49B933
split-complementary
#338CB9 #B93349 #B9A333
monochromatic
#194359 #266889 #338CB9 #58A8D1 #88C1DE

Accessibility & contrast

On white

3.75
#338CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#338CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338CB9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338CB9#FFFFFF#000000##000000
##338CB91.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768BBB
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338cb9;
/* rgb */ color: rgb(51, 140, 185);
/* oklch */ color: oklch(60.7% 0.107 234.7);
Tailwind
colors: {
  custom: {
    50: '#7cadce',
    500: '#338cb9',
    950: '#000000',
  },
}
SCSS
$custom: #338cb9;
$custom-light: #7cadce;
$custom-dark: #000000;
JSON
{
  "hex": "#338cb9",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 185
  },
  "hsl": {
    "h": 200.149,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.10721,
    "h": 234.7
  },
  "luminance": 0.22963
}

Semantic roles & 50–950 ramp

primary
#338CB9
secondary
#C89880
accent
#7B48E0
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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