#38539F#38539F

#38539F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.127 H 266.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#38539F
RGBrgb(56, 83, 159)
HSLhsl(224, 48%, 42%)
HSVhsv(224, 65%, 62%)
CMYKcmyk(64.8%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.98, 15.13, -44.41)
CIE-LCHlch(36.98, 46.91, 288.82°)
OKLaboklab(46.21% -0.0073 -0.127)
OKLCHoklch(46.21% 0.127 266.7)
XYZxyz(10.9800, 9.5295, 34.0549)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38539F #9F8438
analogous
#38879F #38539F #51389F
triadic
#38539F #9F3853 #539F38
tetradic
#38539F #9F3887 #9F8438 #389F51
square
#38539F #9F3887 #9F8438 #389F51
split-complementary
#38539F #9F5138 #879F38
monochromatic
#182444 #283B72 #38539F #526FC2 #7F95D2

Accessibility & contrast

On white

7.23
#38539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#38539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38539F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38539F#FFFFFF#000000##FFFFFF
##38539F1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#19539D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #38539f;
/* rgb */ color: rgb(56, 83, 159);
/* oklch */ color: oklch(46.2% 0.127 266.7);
Tailwind
colors: {
  custom: {
    50: '#7982bc',
    500: '#38539f',
    950: '#000000',
  },
}
SCSS
$custom: #38539f;
$custom-light: #7982bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38539f",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 224.272,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46213,
    "c": 0.12722,
    "h": 266.7
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#38539F
secondary
#BBAA77
accent
#B450D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #38539F

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

Preview Lab → · Contrast checker → · Palette generator →

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