#38458D#38458D

#38458D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.9% C 0.119 H 272.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#38458D
RGBrgb(56, 69, 141)
HSLhsl(231, 43%, 39%)
HSVhsv(231, 60%, 55%)
CMYKcmyk(60.3%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.85, 17.91, -41.73)
CIE-LCHlch(31.85, 45.41, 293.23°)
OKLaboklab(41.93% 0.0053 -0.1193)
OKLCHoklch(41.93% 0.119 272.5)
XYZxyz(8.5651, 7.0194, 26.0977)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38458D #8D8038
analogous
#386F8D #38458D #55388D
triadic
#38458D #8D3845 #458D38
tetradic
#38458D #8D386F #8D8038 #388D55
square
#38458D #8D386F #8D8038 #388D55
split-complementary
#38458D #8D5538 #6F8D38
monochromatic
#151A35 #273061 #38458D #4B5BB7 #7783C9

Accessibility & contrast

On white

8.74
#38458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#38458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38458D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38458D#FFFFFF#000000##FFFFFF
##38458D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38458d;
/* rgb */ color: rgb(56, 69, 141);
/* oklch */ color: oklch(41.9% 0.119 272.5);
Tailwind
colors: {
  custom: {
    50: '#7778af',
    500: '#38458d',
    950: '#000000',
  },
}
SCSS
$custom: #38458d;
$custom-light: #7778af;
$custom-dark: #000000;
JSON
{
  "hex": "#38458d",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 230.824,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.11945,
    "h": 272.5
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#38458D
secondary
#B2A86F
accent
#C055D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38458D

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

Preview Lab → · Contrast checker → · Palette generator →

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