#38549F#38549F

#38549F is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.126 H 266.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#38549F
RGBrgb(56, 84, 159)
HSLhsl(224, 48%, 42%)
HSVhsv(224, 65%, 62%)
CMYKcmyk(64.8%, 47.2%, 0%, 37.6%)
CIE-LABlab(37.27, 14.48, -43.95)
CIE-LCHlch(37.27, 46.27, 288.23°)
OKLaboklab(46.43% -0.0083 -0.1257)
OKLCHoklch(46.43% 0.126 266.2)
XYZxyz(11.0571, 9.6836, 34.0806)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38549F #9F8338
analogous
#38889F #38549F #4F389F
triadic
#38549F #9F3854 #549F38
tetradic
#38549F #9F3888 #9F8338 #389F4F
square
#38549F #9F3888 #9F8338 #389F4F
split-complementary
#38549F #9F4F38 #889F38
monochromatic
#182444 #283C72 #38549F #5271C2 #7F96D2

Accessibility & contrast

On white

7.15
#38549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#38549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38549F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38549F#FFFFFF#000000##FFFFFF
##38549F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38549f;
/* rgb */ color: rgb(56, 84, 159);
/* oklch */ color: oklch(46.4% 0.126 266.2);
Tailwind
colors: {
  custom: {
    50: '#7983bc',
    500: '#38549f',
    950: '#000000',
  },
}
SCSS
$custom: #38549f;
$custom-light: #7983bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38549f",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 223.689,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.12593,
    "h": 266.2
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#38549F
secondary
#BBA977
accent
#B350D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #38549F

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

Preview Lab → · Contrast checker → · Palette generator →

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