#38488B#38488B

#38488B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.4% C 0.112 H 270.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#38488B
RGBrgb(56, 72, 139)
HSLhsl(228, 43%, 38%)
HSVhsv(228, 60%, 55%)
CMYKcmyk(59.7%, 48.2%, 0%, 45.5%)
CIE-LABlab(32.57, 15.19, -39.36)
CIE-LCHlch(32.57, 42.19, 291.11°)
OKLaboklab(42.43% 0.0017 -0.1123)
OKLCHoklch(42.43% 0.112 270.8)
XYZxyz(8.6069, 7.3389, 25.3841)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38488B #8B7B38
analogous
#38718B #38488B #51388B
triadic
#38488B #8B3848 #488B38
tetradic
#38488B #8B3871 #8B7B38 #388B51
square
#38488B #8B3871 #8B7B38 #388B51
split-complementary
#38488B #8B5138 #718B38
monochromatic
#151B34 #26315F #38488B #4A5FB6 #7686C8

Accessibility & contrast

On white

8.51
#38488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#38488B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38488B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38488B#FFFFFF#000000##FFFFFF
##38488B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38488b;
/* rgb */ color: rgb(56, 72, 139);
/* oklch */ color: oklch(42.4% 0.112 270.8);
Tailwind
colors: {
  custom: {
    50: '#767aad',
    500: '#38488b',
    950: '#000000',
  },
}
SCSS
$custom: #38488b;
$custom-light: #767aad;
$custom-dark: #000000;
JSON
{
  "hex": "#38488b",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 228.434,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.11232,
    "h": 270.8
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#38488B
secondary
#B1A46E
accent
#BA55D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38488B

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

Preview Lab → · Contrast checker → · Palette generator →

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