#38799D#38799D

#38799D is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.087 H 235.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#38799D
RGBrgb(56, 121, 157)
HSLhsl(201, 47%, 42%)
HSVhsv(201, 64%, 62%)
CMYKcmyk(64.3%, 22.9%, 0%, 38.4%)
CIE-LABlab(48.20, -9.22, -25.53)
CIE-LCHlch(48.20, 27.14, 250.14°)
OKLaboklab(54.93% -0.0489 -0.0716)
OKLCHoklch(54.93% 0.087 235.6)
XYZxyz(14.5517, 16.9484, 34.3962)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38799D #9D5C38
analogous
#389D8F #38799D #38479D
triadic
#38799D #9D3879 #799D38
tetradic
#38799D #8F389D #9D5C38 #479D38
square
#38799D #8F389D #9D5C38 #479D38
split-complementary
#38799D #9D3847 #9D8F38
monochromatic
#183343 #285670 #38799D #5199C1 #7EB4D1

Accessibility & contrast

On white

4.78
#38799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#38799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38799D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38799D#FFFFFF#000000##FFFFFF
##38799D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38799d;
/* rgb */ color: rgb(56, 121, 157);
/* oklch */ color: oklch(54.9% 0.087 235.6);
Tailwind
colors: {
  custom: {
    50: '#799fba',
    500: '#38799d',
    950: '#000000',
  },
}
SCSS
$custom: #38799d;
$custom-light: #799fba;
$custom-dark: #000000;
JSON
{
  "hex": "#38799d",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 201.386,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.08669,
    "h": 235.6
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#38799D
secondary
#BA8F76
accent
#8151D7
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #38799D

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

Preview Lab → · Contrast checker → · Palette generator →

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