#38488E#38488E

#38488E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.117 H 271.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#38488E
RGBrgb(56, 72, 142)
HSLhsl(229, 43%, 39%)
HSVhsv(229, 61%, 56%)
CMYKcmyk(60.6%, 49.3%, 0%, 44.3%)
CIE-LABlab(32.76, 16.27, -40.88)
CIE-LCHlch(32.76, 44.00, 291.70°)
OKLaboklab(42.64% 0.0021 -0.1168)
OKLCHoklch(42.64% 0.117 271)
XYZxyz(8.8291, 7.4278, 26.5544)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38488E #8E7E38
analogous
#38738E #38488E #53388E
triadic
#38488E #8E3848 #488E38
tetradic
#38488E #8E3873 #8E7E38 #388E53
square
#38488E #8E3873 #8E7E38 #388E53
split-complementary
#38488E #8E5338 #738E38
monochromatic
#151B36 #273262 #38488E #4B5FB8 #7786C9

Accessibility & contrast

On white

8.45
#38488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38488E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38488E#FFFFFF#000000##FFFFFF
##38488E1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#17498D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38488e;
/* rgb */ color: rgb(56, 72, 142);
/* oklch */ color: oklch(42.6% 0.117 271.0);
Tailwind
colors: {
  custom: {
    50: '#777aaf',
    500: '#38488e',
    950: '#000000',
  },
}
SCSS
$custom: #38488e;
$custom-light: #777aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#38488e",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 228.837,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.11682,
    "h": 271
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#38488E
secondary
#B2A66F
accent
#BC55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38488E

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

Preview Lab → · Contrast checker → · Palette generator →

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