#38468D#38468D

#38468D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.1% C 0.118 H 272.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#38468D
RGBrgb(56, 70, 141)
HSLhsl(230, 43%, 39%)
HSVhsv(230, 60%, 55%)
CMYKcmyk(60.3%, 50.4%, 0%, 44.7%)
CIE-LABlab(32.13, 17.24, -41.28)
CIE-LCHlch(32.13, 44.74, 292.67°)
OKLaboklab(42.14% 0.0042 -0.118)
OKLCHoklch(42.14% 0.118 272)
XYZxyz(8.6272, 7.1435, 26.1183)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38468D #8D7F38
analogous
#38708D #38468D #54388D
triadic
#38468D #8D3846 #468D38
tetradic
#38468D #8D3870 #8D7F38 #388D54
square
#38468D #8D3870 #8D7F38 #388D54
split-complementary
#38468D #8D5438 #708D38
monochromatic
#151B35 #273061 #38468D #4B5DB7 #7784C9

Accessibility & contrast

On white

8.65
#38468D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#38468D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38468D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38468D#FFFFFF#000000##FFFFFF
##38468D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#13488C
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38468d;
/* rgb */ color: rgb(56, 70, 141);
/* oklch */ color: oklch(42.1% 0.118 272.0);
Tailwind
colors: {
  custom: {
    50: '#7779af',
    500: '#38468d',
    950: '#000000',
  },
}
SCSS
$custom: #38468d;
$custom-light: #7779af;
$custom-dark: #000000;
JSON
{
  "hex": "#38468d",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 141
  },
  "hsl": {
    "h": 230.118,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.11806,
    "h": 272
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#38468D
secondary
#B2A76F
accent
#BE55D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38468D

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

Preview Lab → · Contrast checker → · Palette generator →

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