#38568B#38568B

#38568B is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.094 H 261.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#38568B
RGBrgb(56, 86, 139)
HSLhsl(218, 43%, 38%)
HSVhsv(218, 60%, 55%)
CMYKcmyk(59.7%, 38.1%, 0%, 45.5%)
CIE-LABlab(36.67, 5.98, -32.83)
CIE-LCHlch(36.67, 33.37, 280.32°)
OKLaboklab(45.58% -0.0146 -0.093)
OKLCHoklch(45.58% 0.094 261.1)
XYZxyz(9.6173, 9.3596, 25.7209)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38568B #8B6D38
analogous
#387F8B #38568B #43388B
triadic
#38568B #8B3856 #568B38
tetradic
#38568B #8B387F #8B6D38 #388B43
square
#38568B #8B387F #8B6D38 #388B43
split-complementary
#38568B #8B4338 #7F8B38
monochromatic
#152034 #263B5F #38568B #4A71B6 #7693C8

Accessibility & contrast

On white

7.31
#38568B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38568B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38568B#FFFFFF#000000##FFFFFF
##38568B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8D
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38568b;
/* rgb */ color: rgb(56, 86, 139);
/* oklch */ color: oklch(45.6% 0.094 261.1);
Tailwind
colors: {
  custom: {
    50: '#7685ad',
    500: '#38568b',
    950: '#000000',
  },
}
SCSS
$custom: #38568b;
$custom-light: #7685ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38568b",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 139
  },
  "hsl": {
    "h": 218.313,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.09415,
    "h": 261.1
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#38568B
secondary
#B1996E
accent
#A555D2
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38568B

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

Preview Lab → · Contrast checker → · Palette generator →

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