#38629D#38629D

#38629D is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.5% C 0.106 H 257.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#38629D
RGBrgb(56, 98, 157)
HSLhsl(215, 47%, 42%)
HSVhsv(215, 64%, 62%)
CMYKcmyk(64.3%, 37.6%, 0%, 38.4%)
CIE-LABlab(41.23, 4.72, -36.44)
CIE-LCHlch(41.23, 36.75, 277.38°)
OKLaboklab(49.45% -0.0236 -0.1034)
OKLCHoklch(49.45% 0.106 257.2)
XYZxyz(12.0822, 12.0093, 33.5731)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38629D #9D7338
analogous
#38959D #38629D #41389D
triadic
#38629D #9D3862 #629D38
tetradic
#38629D #9D3895 #9D7338 #389D41
square
#38629D #9D3895 #9D7338 #389D41
split-complementary
#38629D #9D4138 #959D38
monochromatic
#182A43 #284670 #38629D #5180C1 #7EA1D1

Accessibility & contrast

On white

6.17
#38629D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#38629D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38629D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38629D#FFFFFF#000000##FFFFFF
##38629D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48669F
Deuteranopia (green-blind)
#3A5D9C
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #38629d;
/* rgb */ color: rgb(56, 98, 157);
/* oklch */ color: oklch(49.5% 0.106 257.2);
Tailwind
colors: {
  custom: {
    50: '#798eba',
    500: '#38629d',
    950: '#000000',
  },
}
SCSS
$custom: #38629d;
$custom-light: #798eba;
$custom-dark: #000000;
JSON
{
  "hex": "#38629d",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 157
  },
  "hsl": {
    "h": 215.05,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.1061,
    "h": 257.2
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#38629D
secondary
#BA9E76
accent
#9F51D7
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #38629D

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

Preview Lab → · Contrast checker → · Palette generator →

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