#38529A#38529A

#38529A is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.121 H 266.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#38529A
RGBrgb(56, 82, 154)
HSLhsl(224, 47%, 41%)
HSVhsv(224, 64%, 60%)
CMYKcmyk(63.6%, 46.8%, 0%, 39.6%)
CIE-LABlab(36.38, 13.97, -42.37)
CIE-LCHlch(36.38, 44.61, 288.25°)
OKLaboklab(45.65% -0.007 -0.121)
OKLCHoklch(45.65% 0.121 266.7)
XYZxyz(10.4789, 9.2075, 31.7906)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38529A #9A8038
analogous
#38839A #38529A #4F389A
triadic
#38529A #9A3852 #529A38
tetradic
#38529A #9A3883 #9A8038 #389A4F
square
#38529A #9A3883 #9A8038 #389A4F
split-complementary
#38529A #9A4F38 #839A38
monochromatic
#172240 #283A6D #38529A #506DBF #7D93D0

Accessibility & contrast

On white

7.39
#38529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#38529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38529A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38529A#FFFFFF#000000##FFFFFF
##38529A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#1F5198
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38529a;
/* rgb */ color: rgb(56, 82, 154);
/* oklch */ color: oklch(45.6% 0.121 266.7);
Tailwind
colors: {
  custom: {
    50: '#7882b8',
    500: '#38529a',
    950: '#000000',
  },
}
SCSS
$custom: #38529a;
$custom-light: #7882b8;
$custom-dark: #000000;
JSON
{
  "hex": "#38529a",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 224.082,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.12123,
    "h": 266.7
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#38529A
secondary
#B9A775
accent
#B351D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38529A

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

Preview Lab → · Contrast checker → · Palette generator →

#38529A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva