#38539C#38539C

#38539C is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.123 H 266.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#38539C
RGBrgb(56, 83, 156)
HSLhsl(224, 47%, 42%)
HSVhsv(224, 64%, 61%)
CMYKcmyk(64.1%, 46.8%, 0%, 38.8%)
CIE-LABlab(36.79, 14.04, -42.91)
CIE-LCHlch(36.79, 45.15, 288.12°)
OKLaboklab(46.01% -0.0077 -0.1226)
OKLCHoklch(46.01% 0.123 266.4)
XYZxyz(10.7228, 9.4266, 32.7005)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38539C #9C8138
analogous
#38859C #38539C #4F389C
triadic
#38539C #9C3853 #539C38
tetradic
#38539C #9C3885 #9C8138 #389C4F
square
#38539C #9C3885 #9C8138 #389C4F
split-complementary
#38539C #9C4F38 #859C38
monochromatic
#182342 #283B6F #38539C #516FC0 #7E94D1

Accessibility & contrast

On white

7.28
#38539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#38539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38539C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38539C#FFFFFF#000000##FFFFFF
##38539C1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #38539c;
/* rgb */ color: rgb(56, 83, 156);
/* oklch */ color: oklch(46.0% 0.123 266.4);
Tailwind
colors: {
  custom: {
    50: '#7982ba',
    500: '#38539c',
    950: '#000000',
  },
}
SCSS
$custom: #38539c;
$custom-light: #7982ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38539c",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 223.8,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.12286,
    "h": 266.4
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#38539C
secondary
#BAA876
accent
#B351D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38539C

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

Preview Lab → · Contrast checker → · Palette generator →

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