#38438D#38438D

#38438D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.122 H 273.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#38438D
RGBrgb(56, 67, 141)
HSLhsl(232, 43%, 39%)
HSVhsv(232, 60%, 55%)
CMYKcmyk(60.3%, 52.5%, 0%, 44.7%)
CIE-LABlab(31.29, 19.25, -42.63)
CIE-LCHlch(31.29, 46.77, 294.30°)
OKLaboklab(41.51% 0.0075 -0.122)
OKLCHoklch(41.51% 0.122 273.5)
XYZxyz(8.4442, 6.7775, 26.0573)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38438D #8D8238
analogous
#386D8D #38438D #57388D
triadic
#38438D #8D3843 #438D38
tetradic
#38438D #8D386D #8D8238 #388D57
square
#38438D #8D386D #8D8238 #388D57
split-complementary
#38438D #8D5738 #6D8D38
monochromatic
#151935 #272E61 #38438D #4B59B7 #7781C9

Accessibility & contrast

On white

8.91
#38438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#38438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38438D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38438D#FFFFFF#000000##FFFFFF
##38438D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#07468B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38438d;
/* rgb */ color: rgb(56, 67, 141);
/* oklch */ color: oklch(41.5% 0.122 273.5);
Tailwind
colors: {
  custom: {
    50: '#7776af',
    500: '#38438d',
    950: '#000000',
  },
}
SCSS
$custom: #38438d;
$custom-light: #7776af;
$custom-dark: #000000;
JSON
{
  "hex": "#38438d",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 232.235,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.12222,
    "h": 273.5
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#38438D
secondary
#B2A96F
accent
#C355D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38438D

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

Preview Lab → · Contrast checker → · Palette generator →

#38438D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva