#38468A#38468A

#38468A is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.114 H 271.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#38468A
RGBrgb(56, 70, 138)
HSLhsl(230, 42%, 38%)
HSVhsv(230, 59%, 54%)
CMYKcmyk(59.4%, 49.3%, 0%, 45.9%)
CIE-LABlab(31.93, 16.17, -39.76)
CIE-LCHlch(31.93, 42.92, 292.13°)
OKLaboklab(41.93% 0.0038 -0.1135)
OKLCHoklch(41.93% 0.114 271.9)
XYZxyz(8.4070, 7.0554, 24.9586)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38468A #8A7C38
analogous
#386F8A #38468A #53388A
triadic
#38468A #8A3846 #468A38
tetradic
#38468A #8A386F #8A7C38 #388A53
square
#38468A #8A386F #8A7C38 #388A53
split-complementary
#38468A #8A5338 #6F8A38
monochromatic
#151A33 #26305E #38468A #4A5CB5 #7583C7

Accessibility & contrast

On white

8.71
#38468A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#38468A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38468A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38468A#FFFFFF#000000##FFFFFF
##38468A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8C
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38468a;
/* rgb */ color: rgb(56, 70, 138);
/* oklch */ color: oklch(41.9% 0.114 271.9);
Tailwind
colors: {
  custom: {
    50: '#7679ad',
    500: '#38468a',
    950: '#000000',
  },
}
SCSS
$custom: #38468a;
$custom-light: #7679ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38468a",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 138
  },
  "hsl": {
    "h": 229.756,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41926,
    "c": 0.11357,
    "h": 271.9
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#38468A
secondary
#B0A56E
accent
#BD56D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38468A

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

Preview Lab → · Contrast checker → · Palette generator →

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