#38A5CC#38A5CC

#38A5CC is a light, moderate cyan. Relative luminance 0.321; OKLCH L 67.7% C 0.112 H 226.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#38A5CC
RGBrgb(56, 165, 204)
HSLhsl(196, 59%, 51%)
HSVhsv(196, 73%, 80%)
CMYKcmyk(72.5%, 19.1%, 0%, 20%)
CIE-LABlab(63.43, -17.88, -28.77)
CIE-LCHlch(63.43, 33.87, 238.13°)
OKLaboklab(67.73% -0.0773 -0.0806)
OKLCHoklch(67.73% 0.112 226.2)
XYZxyz(25.9807, 32.1076, 61.9432)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38A5CC #CC5F38
analogous
#38CCA9 #38A5CC #385BCC
triadic
#38A5CC #CC38A5 #A5CC38
tetradic
#38A5CC #A938CC #CC5F38 #5BCC38
square
#38A5CC #A938CC #CC5F38 #5BCC38
split-complementary
#38A5CC #CC385B #CCA938
monochromatic
#1C586E #297F9E #38A5CC #69BBD8 #99D1E5

Accessibility & contrast

On white

2.83
#38A5CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#38A5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38A5CC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38A5CC#FFFFFF#000000##000000
##38A5CC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CE
Deuteranopia (green-blind)
#7C93CC
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #38a5cc;
/* rgb */ color: rgb(56, 165, 204);
/* oklch */ color: oklch(67.7% 0.112 226.2);
Tailwind
colors: {
  custom: {
    50: '#82bfdb',
    500: '#38a5cc',
    950: '#000000',
  },
}
SCSS
$custom: #38a5cc;
$custom-light: #82bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#38a5cc",
  "rgb": {
    "r": 56,
    "g": 165,
    "b": 204
  },
  "hsl": {
    "h": 195.811,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.67728,
    "c": 0.11167,
    "h": 226.2
  },
  "luminance": 0.32111
}

Semantic roles & 50–950 ramp

primary
#38A5CC
secondary
#D1A08F
accent
#6F45E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #38A5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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