#38519B#38519B

#38519B is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.124 H 267.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#38519B
RGBrgb(56, 81, 155)
HSLhsl(225, 47%, 41%)
HSVhsv(225, 64%, 61%)
CMYKcmyk(63.9%, 47.7%, 0%, 39.2%)
CIE-LABlab(36.16, 14.99, -43.33)
CIE-LCHlch(36.16, 45.85, 289.09°)
OKLaboklab(45.5% -0.0058 -0.1239)
OKLCHoklch(45.5% 0.124 267.3)
XYZxyz(10.4877, 9.0912, 32.2061)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38519B #9B8238
analogous
#38839B #38519B #51389B
triadic
#38519B #9B3851 #519B38
tetradic
#38519B #9B3883 #9B8238 #389B51
square
#38519B #9B3883 #9B8238 #389B51
split-complementary
#38519B #9B5138 #839B38
monochromatic
#182241 #283A6E #38519B #506CC0 #7D92D0

Accessibility & contrast

On white

7.45
#38519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#38519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38519B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38519B#FFFFFF#000000##FFFFFF
##38519B1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9E
Deuteranopia (green-blind)
#1A5199
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #38519b;
/* rgb */ color: rgb(56, 81, 155);
/* oklch */ color: oklch(45.5% 0.124 267.3);
Tailwind
colors: {
  custom: {
    50: '#7981b9',
    500: '#38519b',
    950: '#000000',
  },
}
SCSS
$custom: #38519b;
$custom-light: #7981b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38519b",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 224.848,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.124,
    "h": 267.3
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#38519B
secondary
#B9A875
accent
#B551D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38519B

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

Preview Lab → · Contrast checker → · Palette generator →

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