#38559A#38559A

#38559A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.3% C 0.117 H 265.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#38559A
RGBrgb(56, 85, 154)
HSLhsl(222, 47%, 41%)
HSVhsv(222, 64%, 60%)
CMYKcmyk(63.6%, 44.8%, 0%, 39.6%)
CIE-LABlab(37.24, 12.01, -40.99)
CIE-LCHlch(37.24, 42.71, 286.32°)
OKLaboklab(46.31% -0.0102 -0.1169)
OKLCHoklch(46.31% 0.117 265)
XYZxyz(10.7101, 9.6699, 31.8677)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38559A #9A7D38
analogous
#38869A #38559A #4C389A
triadic
#38559A #9A3855 #559A38
tetradic
#38559A #9A3886 #9A7D38 #389A4C
square
#38559A #9A3886 #9A7D38 #389A4C
split-complementary
#38559A #9A4C38 #869A38
monochromatic
#172340 #283C6D #38559A #5071BF #7D95D0

Accessibility & contrast

On white

7.16
#38559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#38559A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38559A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38559A#FFFFFF#000000##FFFFFF
##38559A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9D
Deuteranopia (green-blind)
#265399
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38559a;
/* rgb */ color: rgb(56, 85, 154);
/* oklch */ color: oklch(46.3% 0.117 265.0);
Tailwind
colors: {
  custom: {
    50: '#7884b8',
    500: '#38559a',
    950: '#000000',
  },
}
SCSS
$custom: #38559a;
$custom-light: #7884b8;
$custom-dark: #000000;
JSON
{
  "hex": "#38559a",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 222.245,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.11738,
    "h": 265
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#38559A
secondary
#B9A575
accent
#AF51D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38559A

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

Preview Lab → · Contrast checker → · Palette generator →

#38559A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva