#38488F#38488F

#38488F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.118 H 271.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#38488F
RGBrgb(56, 72, 143)
HSLhsl(229, 44%, 39%)
HSVhsv(229, 61%, 56%)
CMYKcmyk(60.8%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.83, 16.62, -41.39)
CIE-LCHlch(32.83, 44.60, 291.88°)
OKLaboklab(42.71% 0.0022 -0.1183)
OKLCHoklch(42.71% 0.118 271.1)
XYZxyz(8.9045, 7.4579, 26.9516)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38488F #8F7F38
analogous
#38748F #38488F #54388F
triadic
#38488F #8F3848 #488F38
tetradic
#38488F #8F3874 #8F7F38 #388F54
square
#38488F #8F3874 #8F7F38 #388F54
split-complementary
#38488F #8F5438 #748F38
monochromatic
#161C37 #273263 #38488F #4B60B9 #7787CA

Accessibility & contrast

On white

8.43
#38488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#38488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38488F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38488F#FFFFFF#000000##FFFFFF
##38488F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#154A8E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38488f;
/* rgb */ color: rgb(56, 72, 143);
/* oklch */ color: oklch(42.7% 0.118 271.1);
Tailwind
colors: {
  custom: {
    50: '#777ab0',
    500: '#38488f',
    950: '#000000',
  },
}
SCSS
$custom: #38488f;
$custom-light: #777ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#38488f",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 228.966,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.11831,
    "h": 271.1
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#38488F
secondary
#B3A770
accent
#BC54D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38488F

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

Preview Lab → · Contrast checker → · Palette generator →

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