#38B5E7#38B5E7

#38B5E7 is a light, vivid cyan. Relative luminance 0.397; OKLCH L 72.7% C 0.128 H 229.6°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#38B5E7
RGBrgb(56, 181, 231)
HSLhsl(197, 78%, 56%)
HSVhsv(197, 76%, 91%)
CMYKcmyk(75.8%, 21.6%, 0%, 9.4%)
CIE-LABlab(69.22, -17.44, -34.67)
CIE-LCHlch(69.22, 38.81, 243.30°)
OKLaboklab(72.72% -0.0828 -0.0975)
OKLCHoklch(72.72% 0.128 229.6)
XYZxyz(32.5727, 39.6541, 81.5231)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B5E7 #E76A38
analogous
#38E7C2 #38B5E7 #385EE7
triadic
#38B5E7 #E738B5 #B5E738
tetradic
#38B5E7 #C238E7 #E76A38 #5EE738
square
#38B5E7 #C238E7 #E76A38 #5EE738
split-complementary
#38B5E7 #E7385E #E7C238
monochromatic
#126E93 #1897CA #38B5E7 #6FC9EE #A5DEF4

Accessibility & contrast

On white

2.35
#38B5E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#38B5E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B5E7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B5E7#FFFFFF#000000##000000
##38B5E71.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB2E9
Deuteranopia (green-blind)
#84A2E6
Tritanopia (blue-blind)
#00C3C6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #38b5e7;
/* rgb */ color: rgb(56, 181, 231);
/* oklch */ color: oklch(72.7% 0.128 229.6);
Tailwind
colors: {
  custom: {
    50: '#87cbee',
    500: '#38b5e7',
    950: '#000000',
  },
}
SCSS
$custom: #38b5e7;
$custom-light: #87cbee;
$custom-dark: #000000;
JSON
{
  "hex": "#38b5e7",
  "rgb": {
    "r": 56,
    "g": 181,
    "b": 231
  },
  "hsl": {
    "h": 197.143,
    "s": 78.475,
    "l": 56.275
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.1279,
    "h": 229.6
  },
  "luminance": 0.39658
}

Semantic roles & 50–950 ramp

primary
#38B5E7
secondary
#E1AE99
accent
#6A33F5
background
#F9FCFE
surface
#F1F8FD
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #38B5E7

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

Preview Lab → · Contrast checker → · Palette generator →

#38B5E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva