#38468F#38468F

#38468F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.121 H 272.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#38468F
RGBrgb(56, 70, 143)
HSLhsl(230, 44%, 39%)
HSVhsv(230, 61%, 56%)
CMYKcmyk(60.8%, 51%, 0%, 43.9%)
CIE-LABlab(32.27, 17.96, -42.29)
CIE-LCHlch(32.27, 45.95, 293.01°)
OKLaboklab(42.29% 0.0044 -0.121)
OKLCHoklch(42.29% 0.121 272.1)
XYZxyz(8.7773, 7.2035, 26.9092)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38468F #8F8138
analogous
#38728F #38468F #56388F
triadic
#38468F #8F3846 #468F38
tetradic
#38468F #8F3872 #8F8138 #388F56
square
#38468F #8F3872 #8F8138 #388F56
split-complementary
#38468F #8F5638 #728F38
monochromatic
#161B37 #273063 #38468F #4B5DB9 #7785CA

Accessibility & contrast

On white

8.60
#38468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#38468F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38468F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38468F#FFFFFF#000000##FFFFFF
##38468F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38468f;
/* rgb */ color: rgb(56, 70, 143);
/* oklch */ color: oklch(42.3% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#7779b0',
    500: '#38468f',
    950: '#000000',
  },
}
SCSS
$custom: #38468f;
$custom-light: #7779b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38468f",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 230.345,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.12104,
    "h": 272.1
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#38468F
secondary
#B3A870
accent
#BF54D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38468F

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

Preview Lab → · Contrast checker → · Palette generator →

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