#38539B#38539B

#38539B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.121 H 266.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#38539B
RGBrgb(56, 83, 155)
HSLhsl(224, 47%, 41%)
HSVhsv(224, 64%, 61%)
CMYKcmyk(63.9%, 46.5%, 0%, 39.2%)
CIE-LABlab(36.73, 13.68, -42.41)
CIE-LCHlch(36.73, 44.56, 287.88°)
OKLaboklab(45.94% -0.0079 -0.1211)
OKLCHoklch(45.94% 0.121 266.3)
XYZxyz(10.6385, 9.3929, 32.2564)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38539B #9B8038
analogous
#38859B #38539B #4F389B
triadic
#38539B #9B3853 #539B38
tetradic
#38539B #9B3885 #9B8038 #389B4F
square
#38539B #9B3885 #9B8038 #389B4F
split-complementary
#38539B #9B4F38 #859B38
monochromatic
#182341 #283B6E #38539B #506FC0 #7D94D0

Accessibility & contrast

On white

7.29
#38539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#38539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38539B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38539B#FFFFFF#000000##FFFFFF
##38539B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38539b;
/* rgb */ color: rgb(56, 83, 155);
/* oklch */ color: oklch(45.9% 0.121 266.3);
Tailwind
colors: {
  custom: {
    50: '#7983b9',
    500: '#38539b',
    950: '#000000',
  },
}
SCSS
$custom: #38539b;
$custom-light: #7983b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38539b",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 223.636,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.12141,
    "h": 266.3
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#38539B
secondary
#B9A775
accent
#B251D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38539B

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

Preview Lab → · Contrast checker → · Palette generator →

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