#38539D#38539D

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

Color values

HEX#38539D
RGBrgb(56, 83, 157)
HSLhsl(224, 47%, 42%)
HSVhsv(224, 64%, 62%)
CMYKcmyk(64.3%, 47.1%, 0%, 38.4%)
CIE-LABlab(36.86, 14.41, -43.41)
CIE-LCHlch(36.86, 45.74, 288.36°)
OKLaboklab(46.07% -0.0076 -0.1241)
OKLCHoklch(46.07% 0.124 266.5)
XYZxyz(10.8079, 9.4606, 33.1483)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38539D #9D8238
analogous
#38869D #38539D #4F389D
triadic
#38539D #9D3853 #539D38
tetradic
#38539D #9D3886 #9D8238 #389D4F
square
#38539D #9D3886 #9D8238 #389D4F
split-complementary
#38539D #9D4F38 #869D38
monochromatic
#182343 #283B70 #38539D #516FC1 #7E94D1

Accessibility & contrast

On white

7.26
#38539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38539D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38539D#FFFFFF#000000##FFFFFF
##38539D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38539d;
/* rgb */ color: rgb(56, 83, 157);
/* oklch */ color: oklch(46.1% 0.124 266.5);
Tailwind
colors: {
  custom: {
    50: '#7982ba',
    500: '#38539d',
    950: '#000000',
  },
}
SCSS
$custom: #38539d;
$custom-light: #7982ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38539d",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 223.96,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.12431,
    "h": 266.5
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#38539D
secondary
#BAA876
accent
#B351D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #38539D

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

Preview Lab → · Contrast checker → · Palette generator →

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