#38468B#38468B

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

Color values

HEX#38468B
RGBrgb(56, 70, 139)
HSLhsl(230, 43%, 38%)
HSVhsv(230, 60%, 55%)
CMYKcmyk(59.7%, 49.6%, 0%, 45.5%)
CIE-LABlab(32.00, 16.53, -40.27)
CIE-LCHlch(32.00, 43.53, 292.32°)
OKLaboklab(42% 0.0039 -0.115)
OKLCHoklch(42% 0.115 272)
XYZxyz(8.4797, 7.0845, 25.3417)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38468B #8B7D38
analogous
#386F8B #38468B #54388B
triadic
#38468B #8B3846 #468B38
tetradic
#38468B #8B386F #8B7D38 #388B54
square
#38468B #8B386F #8B7D38 #388B54
split-complementary
#38468B #8B5438 #6F8B38
monochromatic
#151A34 #26305F #38468B #4A5CB6 #7684C8

Accessibility & contrast

On white

8.69
#38468B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#38468B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38468B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38468B#FFFFFF#000000##FFFFFF
##38468B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#17488A
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38468b;
/* rgb */ color: rgb(56, 70, 139);
/* oklch */ color: oklch(42.0% 0.115 272.0);
Tailwind
colors: {
  custom: {
    50: '#7679ad',
    500: '#38468b',
    950: '#000000',
  },
}
SCSS
$custom: #38468b;
$custom-light: #7679ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38468b",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 229.88,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41997,
    "c": 0.11508,
    "h": 272
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#38468B
secondary
#B1A56E
accent
#BD55D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38468B

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

Preview Lab → · Contrast checker → · Palette generator →

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