#38468E#38468E

#38468E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.2% C 0.120 H 272.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#38468E
RGBrgb(56, 70, 142)
HSLhsl(230, 43%, 39%)
HSVhsv(230, 61%, 56%)
CMYKcmyk(60.6%, 50.7%, 0%, 44.3%)
CIE-LABlab(32.20, 17.60, -41.79)
CIE-LCHlch(32.20, 45.34, 292.84°)
OKLaboklab(42.21% 0.0043 -0.1195)
OKLCHoklch(42.21% 0.12 272.1)
XYZxyz(8.7019, 7.1734, 26.5120)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38468E #8E8038
analogous
#38718E #38468E #55388E
triadic
#38468E #8E3846 #468E38
tetradic
#38468E #8E3871 #8E8038 #388E55
square
#38468E #8E3871 #8E8038 #388E55
split-complementary
#38468E #8E5538 #718E38
monochromatic
#151B36 #273062 #38468E #4B5DB8 #7784C9

Accessibility & contrast

On white

8.62
#38468E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38468E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38468E#FFFFFF#000000##FFFFFF
##38468E1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38468e;
/* rgb */ color: rgb(56, 70, 142);
/* oklch */ color: oklch(42.2% 0.120 272.1);
Tailwind
colors: {
  custom: {
    50: '#7779af',
    500: '#38468e',
    950: '#000000',
  },
}
SCSS
$custom: #38468e;
$custom-light: #7779af;
$custom-dark: #000000;
JSON
{
  "hex": "#38468e",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 230.233,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.11956,
    "h": 272.1
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#38468E
secondary
#B2A76F
accent
#BF55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38468E

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

Preview Lab → · Contrast checker → · Palette generator →

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