#38529C#38529C

#38529C is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.124 H 266.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#38529C
RGBrgb(56, 82, 156)
HSLhsl(224, 47%, 42%)
HSVhsv(224, 64%, 61%)
CMYKcmyk(64.1%, 47.4%, 0%, 38.8%)
CIE-LABlab(36.51, 14.70, -43.37)
CIE-LCHlch(36.51, 45.79, 288.72°)
OKLaboklab(45.79% -0.0067 -0.124)
OKLCHoklch(45.79% 0.124 266.9)
XYZxyz(10.6469, 9.2747, 32.6752)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38529C #9C8238
analogous
#38849C #38529C #50389C
triadic
#38529C #9C3852 #529C38
tetradic
#38529C #9C3884 #9C8238 #389C50
square
#38529C #9C3884 #9C8238 #389C50
split-complementary
#38529C #9C5038 #849C38
monochromatic
#182342 #283A6F #38529C #516EC0 #7E93D1

Accessibility & contrast

On white

7.36
#38529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#38529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38529C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38529C#FFFFFF#000000##FFFFFF
##38529C1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#1C529A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38529c;
/* rgb */ color: rgb(56, 82, 156);
/* oklch */ color: oklch(45.8% 0.124 266.9);
Tailwind
colors: {
  custom: {
    50: '#7982ba',
    500: '#38529c',
    950: '#000000',
  },
}
SCSS
$custom: #38529c;
$custom-light: #7982ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38529c",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 224.4,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.12415,
    "h": 266.9
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38529C

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

Preview Lab → · Contrast checker → · Palette generator →

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