#38457D#38457D

#38457D is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.095 H 271.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#38457D
RGBrgb(56, 69, 125)
HSLhsl(229, 38%, 35%)
HSVhsv(229, 55%, 49%)
CMYKcmyk(55.2%, 44.8%, 0%, 51%)
CIE-LABlab(30.82, 12.24, -33.48)
CIE-LCHlch(30.82, 35.64, 290.09°)
OKLaboklab(40.82% 0.0029 -0.0951)
OKLCHoklch(40.82% 0.095 271.8)
XYZxyz(7.4595, 6.5772, 20.2745)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38457D #7D7038
analogous
#38677D #38457D #4D387D
triadic
#38457D #7D3845 #457D38
tetradic
#38457D #7D3867 #7D7038 #387D4D
square
#38457D #7D3867 #7D7038 #387D4D
split-complementary
#38457D #7D4D38 #677D38
monochromatic
#121628 #252E53 #38457D #4B5CA7 #707FBF

Accessibility & contrast

On white

9.07
#38457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#38457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38457D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38457D#FFFFFF#000000##FFFFFF
##38457D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#17515B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38457d;
/* rgb */ color: rgb(56, 69, 125);
/* oklch */ color: oklch(40.8% 0.095 271.8);
Tailwind
colors: {
  custom: {
    50: '#7478a3',
    500: '#38457d',
    950: '#000000',
  },
}
SCSS
$custom: #38457d;
$custom-light: #7478a3;
$custom-dark: #000000;
JSON
{
  "hex": "#38457d",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 228.696,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40815,
    "c": 0.09512,
    "h": 271.8
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#38457D
secondary
#A89C69
accent
#B85ACE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #38457D

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

Preview Lab → · Contrast checker → · Palette generator →

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