#38568A#38568A

#38568A is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.093 H 260.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#38568A
RGBrgb(56, 86, 138)
HSLhsl(218, 42%, 38%)
HSVhsv(218, 59%, 54%)
CMYKcmyk(59.4%, 37.7%, 0%, 45.9%)
CIE-LABlab(36.61, 5.62, -32.31)
CIE-LCHlch(36.61, 32.79, 279.87°)
OKLaboklab(45.52% -0.0148 -0.0915)
OKLCHoklch(45.52% 0.093 260.8)
XYZxyz(9.5445, 9.3305, 25.3378)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38568A #8A6C38
analogous
#387F8A #38568A #43388A
triadic
#38568A #8A3856 #568A38
tetradic
#38568A #8A387F #8A6C38 #388A43
square
#38568A #8A387F #8A6C38 #388A43
split-complementary
#38568A #8A4338 #7F8A38
monochromatic
#152033 #263B5E #38568A #4A71B5 #7593C7

Accessibility & contrast

On white

7.33
#38568A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#38568A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38568A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38568A#FFFFFF#000000##FFFFFF
##38568A1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#365389
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38568a;
/* rgb */ color: rgb(56, 86, 138);
/* oklch */ color: oklch(45.5% 0.093 260.8);
Tailwind
colors: {
  custom: {
    50: '#7685ac',
    500: '#38568a',
    950: '#000000',
  },
}
SCSS
$custom: #38568a;
$custom-light: #7685ac;
$custom-dark: #000000;
JSON
{
  "hex": "#38568a",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 138
  },
  "hsl": {
    "h": 218.049,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.09268,
    "h": 260.8
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#38568A
secondary
#B0986E
accent
#A556D2
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38568A

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

Preview Lab → · Contrast checker → · Palette generator →

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