#38448C#38448C

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

Color values

HEX#38448C
RGBrgb(56, 68, 140)
HSLhsl(231, 43%, 38%)
HSVhsv(231, 60%, 55%)
CMYKcmyk(60%, 51.4%, 0%, 45.1%)
CIE-LABlab(31.50, 18.22, -41.68)
CIE-LCHlch(31.50, 45.49, 293.62°)
OKLaboklab(41.64% 0.0063 -0.1192)
OKLCHoklch(41.64% 0.119 273)
XYZxyz(8.4301, 6.8678, 25.6872)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38448C #8C8038
analogous
#386E8C #38448C #56388C
triadic
#38448C #8C3844 #448C38
tetradic
#38448C #8C386E #8C8038 #388C56
square
#38448C #8C386E #8C8038 #388C56
split-complementary
#38448C #8C5638 #6E8C38
monochromatic
#151A35 #272F60 #38448C #4A5AB7 #7682C8

Accessibility & contrast

On white

8.85
#38448C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38448C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38448C#FFFFFF#000000##FFFFFF
##38448C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#0E478A
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38448c;
/* rgb */ color: rgb(56, 68, 140);
/* oklch */ color: oklch(41.6% 0.119 273.0);
Tailwind
colors: {
  custom: {
    50: '#7777ae',
    500: '#38448c',
    950: '#000000',
  },
}
SCSS
$custom: #38448c;
$custom-light: #7777ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38448c",
  "rgb": {
    "r": 56,
    "g": 68,
    "b": 140
  },
  "hsl": {
    "h": 231.429,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41644,
    "c": 0.11935,
    "h": 273
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#38448C
secondary
#B1A86F
accent
#C155D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38448C

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

Preview Lab → · Contrast checker → · Palette generator →

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