#338FB0#338FB0

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

Color values

HEX#338FB0
RGBrgb(51, 143, 176)
HSLhsl(196, 55%, 45%)
HSVhsv(196, 71%, 69%)
CMYKcmyk(71%, 18.7%, 0%, 31%)
CIE-LABlab(55.56, -16.01, -25.14)
CIE-LCHlch(55.56, 29.80, 237.52°)
OKLaboklab(61.03% -0.0682 -0.0704)
OKLCHoklch(61.03% 0.098 225.9)
XYZxyz(19.0210, 23.4812, 44.5957)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338FB0 #B05433
analogous
#33B093 #338FB0 #3351B0
triadic
#338FB0 #B0338F #8FB033
tetradic
#338FB0 #9333B0 #B05433 #51B033
square
#338FB0 #9333B0 #B05433 #51B033
split-complementary
#338FB0 #B03351 #B09333
monochromatic
#184251 #256881 #338FB0 #53ADCD #82C4DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338FB0#FFFFFF#000000##000000
##338FB01.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB2
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #338fb0;
/* rgb */ color: rgb(51, 143, 176);
/* oklch */ color: oklch(61.0% 0.098 225.9);
Tailwind
colors: {
  custom: {
    50: '#7bafc7',
    500: '#338fb0',
    950: '#000000',
  },
}
SCSS
$custom: #338fb0;
$custom-light: #7bafc7;
$custom-dark: #000000;
JSON
{
  "hex": "#338fb0",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 176
  },
  "hsl": {
    "h": 195.84,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.09802,
    "h": 225.9
  },
  "luminance": 0.23483
}

Semantic roles & 50–950 ramp

primary
#338FB0
secondary
#C48E7B
accent
#7149DE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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