#38457F#38457F

#38457F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.098 H 271.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#38457F
RGBrgb(56, 69, 127)
HSLhsl(229, 39%, 36%)
HSVhsv(229, 56%, 50%)
CMYKcmyk(55.9%, 45.7%, 0%, 50.2%)
CIE-LABlab(30.95, 12.94, -34.53)
CIE-LCHlch(30.95, 36.87, 290.55°)
OKLaboklab(40.95% 0.0033 -0.0982)
OKLCHoklch(40.95% 0.098 271.9)
XYZxyz(7.5885, 6.6288, 20.9542)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38457F #7F7238
analogous
#38687F #38457F #4E387F
triadic
#38457F #7F3845 #457F38
tetradic
#38457F #7F3868 #7F7238 #387F4E
square
#38457F #7F3868 #7F7238 #387F4E
split-complementary
#38457F #7F4E38 #687F38
monochromatic
#13172A #252E55 #38457F #4B5CA9 #7180C0

Accessibility & contrast

On white

9.03
#38457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#38457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38457F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38457F#FFFFFF#000000##FFFFFF
##38457F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#14525C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38457f;
/* rgb */ color: rgb(56, 69, 127);
/* oklch */ color: oklch(40.9% 0.098 271.9);
Tailwind
colors: {
  custom: {
    50: '#7478a4',
    500: '#38457f',
    950: '#000000',
  },
}
SCSS
$custom: #38457f;
$custom-light: #7478a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38457f",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 229.014,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.09822,
    "h": 271.9
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#38457F
secondary
#A99E69
accent
#B959CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #38457F

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

Preview Lab → · Contrast checker → · Palette generator →

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