#338BB0#338BB0

#338BB0 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.099 H 229.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#338BB0
RGBrgb(51, 139, 176)
HSLhsl(198, 55%, 45%)
HSVhsv(198, 71%, 69%)
CMYKcmyk(71%, 21%, 0%, 31%)
CIE-LABlab(54.35, -13.81, -27.02)
CIE-LCHlch(54.35, 30.35, 242.94°)
OKLaboklab(60.05% -0.0641 -0.0758)
OKLCHoklch(60.05% 0.099 229.8)
XYZxyz(18.4312, 22.3016, 44.3991)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BB0 #B05833
analogous
#33B097 #338BB0 #334DB0
triadic
#338BB0 #B0338B #8BB033
tetradic
#338BB0 #9733B0 #B05833 #4DB033
square
#338BB0 #9733B0 #B05833 #4DB033
split-complementary
#338BB0 #B0334D #B09733
monochromatic
#184051 #256681 #338BB0 #53A9CD #82C1DB

Accessibility & contrast

On white

3.85
#338BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#338BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BB0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BB0#FFFFFF#000000##000000
##338BB01.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B2
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338bb0;
/* rgb */ color: rgb(51, 139, 176);
/* oklch */ color: oklch(60.1% 0.099 229.8);
Tailwind
colors: {
  custom: {
    50: '#7badc7',
    500: '#338bb0',
    950: '#000000',
  },
}
SCSS
$custom: #338bb0;
$custom-light: #7badc7;
$custom-dark: #000000;
JSON
{
  "hex": "#338bb0",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 176
  },
  "hsl": {
    "h": 197.76,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.09929,
    "h": 229.8
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#338BB0
secondary
#C4907B
accent
#7649DE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #338BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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