#38799F#38799F

#38799F is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.089 H 237.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#38799F
RGBrgb(56, 121, 159)
HSLhsl(202, 48%, 42%)
HSVhsv(202, 65%, 62%)
CMYKcmyk(64.8%, 23.9%, 0%, 37.6%)
CIE-LABlab(48.28, -8.54, -26.57)
CIE-LCHlch(48.28, 27.91, 252.17°)
OKLaboklab(55.03% -0.0482 -0.0745)
OKLCHoklch(55.03% 0.089 237.1)
XYZxyz(14.7239, 17.0172, 35.3029)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38799F #9F5E38
analogous
#389F92 #38799F #38469F
triadic
#38799F #9F3879 #799F38
tetradic
#38799F #92389F #9F5E38 #469F38
square
#38799F #92389F #9F5E38 #469F38
split-complementary
#38799F #9F3846 #9F9238
monochromatic
#183444 #285772 #38799F #5299C2 #7FB4D2

Accessibility & contrast

On white

4.77
#38799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#38799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38799F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38799F#FFFFFF#000000##FFFFFF
##38799F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38799f;
/* rgb */ color: rgb(56, 121, 159);
/* oklch */ color: oklch(55.0% 0.089 237.1);
Tailwind
colors: {
  custom: {
    50: '#799fbb',
    500: '#38799f',
    950: '#000000',
  },
}
SCSS
$custom: #38799f;
$custom-light: #799fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#38799f",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 202.136,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.08877,
    "h": 237.1
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#38799F
secondary
#BB9077
accent
#8250D7
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #38799F

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

Preview Lab → · Contrast checker → · Palette generator →

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