#38539E#38539E

#38539E is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.126 H 266.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#38539E
RGBrgb(56, 83, 158)
HSLhsl(224, 48%, 42%)
HSVhsv(224, 65%, 62%)
CMYKcmyk(64.6%, 47.5%, 0%, 38%)
CIE-LABlab(36.92, 14.77, -43.91)
CIE-LCHlch(36.92, 46.33, 288.59°)
OKLaboklab(46.14% -0.0074 -0.1255)
OKLCHoklch(46.14% 0.126 266.6)
XYZxyz(10.8936, 9.4949, 33.5997)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38539E #9E8338
analogous
#38869E #38539E #50389E
triadic
#38539E #9E3853 #539E38
tetradic
#38539E #9E3886 #9E8338 #389E50
square
#38539E #9E3886 #9E8338 #389E50
split-complementary
#38539E #9E5038 #869E38
monochromatic
#182444 #283B71 #38539E #526FC2 #7F95D2

Accessibility & contrast

On white

7.24
#38539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#38539E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38539E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38539E#FFFFFF#000000##FFFFFF
##38539E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#1B539C
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #38539e;
/* rgb */ color: rgb(56, 83, 158);
/* oklch */ color: oklch(46.1% 0.126 266.6);
Tailwind
colors: {
  custom: {
    50: '#7982bb',
    500: '#38539e',
    950: '#000000',
  },
}
SCSS
$custom: #38539e;
$custom-light: #7982bb;
$custom-dark: #000000;
JSON
{
  "hex": "#38539e",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 224.118,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.12577,
    "h": 266.6
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#38539E
secondary
#BBA977
accent
#B451D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #38539E

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

Preview Lab → · Contrast checker → · Palette generator →

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