#38589F#38589F

#38589F is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.121 H 264.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#38589F
RGBrgb(56, 88, 159)
HSLhsl(221, 48%, 42%)
HSVhsv(221, 65%, 62%)
CMYKcmyk(64.8%, 44.7%, 0%, 37.6%)
CIE-LABlab(38.41, 11.86, -42.12)
CIE-LCHlch(38.41, 43.75, 285.73°)
OKLaboklab(47.31% -0.0125 -0.1202)
OKLCHoklch(47.31% 0.121 264.1)
XYZxyz(11.3764, 10.3224, 34.1871)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38589F #9F7F38
analogous
#388C9F #38589F #4B389F
triadic
#38589F #9F3858 #589F38
tetradic
#38589F #9F388C #9F7F38 #389F4B
square
#38589F #9F388C #9F7F38 #389F4B
split-complementary
#38589F #9F4B38 #8C9F38
monochromatic
#182644 #283F72 #38589F #5275C2 #7F99D2

Accessibility & contrast

On white

6.85
#38589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#38589F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38589F
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38589F#FFFFFF#000000##FFFFFF
##38589F1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA2
Deuteranopia (green-blind)
#26569E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #38589f;
/* rgb */ color: rgb(56, 88, 159);
/* oklch */ color: oklch(47.3% 0.121 264.1);
Tailwind
colors: {
  custom: {
    50: '#7986bc',
    500: '#38589f',
    950: '#000000',
  },
}
SCSS
$custom: #38589f;
$custom-light: #7986bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38589f",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 221.359,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4731,
    "c": 0.12085,
    "h": 264.1
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#38589F
secondary
#BBA677
accent
#AD50D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #38589F

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

Preview Lab → · Contrast checker → · Palette generator →

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