#38477B#38477B

#38477B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.089 H 270.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#38477B
RGBrgb(56, 71, 123)
HSLhsl(227, 37%, 35%)
HSVhsv(227, 54%, 48%)
CMYKcmyk(54.5%, 42.3%, 0%, 51.8%)
CIE-LABlab(31.29, 10.21, -31.48)
CIE-LCHlch(31.29, 33.10, 287.97°)
OKLaboklab(41.14% 0 -0.0892)
OKLCHoklch(41.14% 0.089 270)
XYZxyz(7.4581, 6.7768, 19.6501)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38477B #7B6C38
analogous
#38687B #38477B #4A387B
triadic
#38477B #7B3847 #477B38
tetradic
#38477B #7B3868 #7B6C38 #387B4A
square
#38477B #7B3868 #7B6C38 #387B4A
split-complementary
#38477B #7B4A38 #687B38
monochromatic
#121627 #252F51 #38477B #4B5FA5 #7081BE

Accessibility & contrast

On white

8.92
#38477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#38477B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38477B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38477B#FFFFFF#000000##FFFFFF
##38477B1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#2A477A
Tritanopia (blue-blind)
#18525B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38477b;
/* rgb */ color: rgb(56, 71, 123);
/* oklch */ color: oklch(41.1% 0.089 270.0);
Tailwind
colors: {
  custom: {
    50: '#7479a1',
    500: '#38477b',
    950: '#000000',
  },
}
SCSS
$custom: #38477b;
$custom-light: #7479a1;
$custom-dark: #000000;
JSON
{
  "hex": "#38477b",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 226.567,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41136,
    "c": 0.08922,
    "h": 270
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#38477B
secondary
#A79968
accent
#B45ACD
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #38477B

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

Preview Lab → · Contrast checker → · Palette generator →

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