#38529F#38529F

#38529F is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.129 H 267.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#38529F
RGBrgb(56, 82, 159)
HSLhsl(225, 48%, 42%)
HSVhsv(225, 65%, 62%)
CMYKcmyk(64.8%, 48.4%, 0%, 37.6%)
CIE-LABlab(36.70, 15.79, -44.86)
CIE-LCHlch(36.70, 47.56, 289.39°)
OKLaboklab(46% -0.0063 -0.1284)
OKLCHoklch(46% 0.129 267.2)
XYZxyz(10.9040, 9.3776, 34.0296)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38529F #9F8538
analogous
#38869F #38529F #51389F
triadic
#38529F #9F3852 #529F38
tetradic
#38529F #9F3886 #9F8538 #389F51
square
#38529F #9F3886 #9F8538 #389F51
split-complementary
#38529F #9F5138 #869F38
monochromatic
#182344 #283B72 #38529F #526EC2 #7F94D2

Accessibility & contrast

On white

7.30
#38529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#38529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38529F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38529F#FFFFFF#000000##FFFFFF
##38529F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#16529D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38529f;
/* rgb */ color: rgb(56, 82, 159);
/* oklch */ color: oklch(46.0% 0.129 267.2);
Tailwind
colors: {
  custom: {
    50: '#7982bc',
    500: '#38529f',
    950: '#000000',
  },
}
SCSS
$custom: #38529f;
$custom-light: #7982bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38529f",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 224.854,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.12851,
    "h": 267.2
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38529F

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

Preview Lab → · Contrast checker → · Palette generator →

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