#38448B#38448B

#38448B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.6% C 0.118 H 273.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#38448B
RGBrgb(56, 68, 139)
HSLhsl(231, 43%, 38%)
HSVhsv(231, 60%, 55%)
CMYKcmyk(59.7%, 51.1%, 0%, 45.5%)
CIE-LABlab(31.44, 17.87, -41.17)
CIE-LCHlch(31.44, 44.88, 293.46°)
OKLaboklab(41.57% 0.0062 -0.1177)
OKLCHoklch(41.57% 0.118 273)
XYZxyz(8.3567, 6.8384, 25.3007)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38448B #8B7F38
analogous
#386D8B #38448B #55388B
triadic
#38448B #8B3844 #448B38
tetradic
#38448B #8B386D #8B7F38 #388B55
square
#38448B #8B386D #8B7F38 #388B55
split-complementary
#38448B #8B5538 #6D8B38
monochromatic
#151934 #262F5F #38448B #4A5AB6 #7682C8

Accessibility & contrast

On white

8.87
#38448B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#38448B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38448B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38448B#FFFFFF#000000##FFFFFF
##38448B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#11478A
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38448b;
/* rgb */ color: rgb(56, 68, 139);
/* oklch */ color: oklch(41.6% 0.118 273.0);
Tailwind
colors: {
  custom: {
    50: '#7677ad',
    500: '#38448b',
    950: '#000000',
  },
}
SCSS
$custom: #38448b;
$custom-light: #7677ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38448b",
  "rgb": {
    "r": 56,
    "g": 68,
    "b": 139
  },
  "hsl": {
    "h": 231.325,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.11785,
    "h": 273
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#38448B
secondary
#B1A76E
accent
#C055D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38448B

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

Preview Lab → · Contrast checker → · Palette generator →

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