#38799C#38799C

#38799C is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.086 H 234.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#38799C
RGBrgb(56, 121, 156)
HSLhsl(201, 47%, 42%)
HSVhsv(201, 64%, 61%)
CMYKcmyk(64.1%, 22.4%, 0%, 38.8%)
CIE-LABlab(48.15, -9.56, -25.01)
CIE-LCHlch(48.15, 26.77, 249.09°)
OKLaboklab(54.89% -0.0493 -0.0701)
OKLCHoklch(54.89% 0.086 234.9)
XYZxyz(14.4667, 16.9143, 33.9484)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38799C #9C5B38
analogous
#389C8D #38799C #38479C
triadic
#38799C #9C3879 #799C38
tetradic
#38799C #8D389C #9C5B38 #479C38
square
#38799C #8D389C #9C5B38 #479C38
split-complementary
#38799C #9C3847 #9C8D38
monochromatic
#183342 #28566F #38799C #5199C0 #7EB4D1

Accessibility & contrast

On white

4.79
#38799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#38799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38799C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38799C#FFFFFF#000000##FFFFFF
##38799C1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#5A6E9B
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38799c;
/* rgb */ color: rgb(56, 121, 156);
/* oklch */ color: oklch(54.9% 0.086 234.9);
Tailwind
colors: {
  custom: {
    50: '#799fb9',
    500: '#38799c',
    950: '#000000',
  },
}
SCSS
$custom: #38799c;
$custom-light: #799fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#38799c",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 201,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.08567,
    "h": 234.9
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#38799C
secondary
#BA8E76
accent
#8051D7
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #38799C

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

Preview Lab → · Contrast checker → · Palette generator →

#38799C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva