#38509B#38509B

#38509B is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.125 H 267.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#38509B
RGBrgb(56, 80, 155)
HSLhsl(225, 47%, 41%)
HSVhsv(225, 64%, 61%)
CMYKcmyk(63.9%, 48.4%, 0%, 39.2%)
CIE-LABlab(35.88, 15.65, -43.78)
CIE-LCHlch(35.88, 46.50, 289.67°)
OKLaboklab(45.28% -0.0048 -0.1252)
OKLCHoklch(45.28% 0.125 267.8)
XYZxyz(10.4139, 8.9437, 32.1815)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38509B #9B8338
analogous
#38829B #38509B #52389B
triadic
#38509B #9B3850 #509B38
tetradic
#38509B #9B3882 #9B8338 #389B52
square
#38509B #9B3882 #9B8338 #389B52
split-complementary
#38509B #9B5238 #829B38
monochromatic
#182241 #28396E #38509B #506BC0 #7D91D0

Accessibility & contrast

On white

7.53
#38509B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#38509B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38509B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38509B#FFFFFF#000000##FFFFFF
##38509B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#175099
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #38509b;
/* rgb */ color: rgb(56, 80, 155);
/* oklch */ color: oklch(45.3% 0.125 267.8);
Tailwind
colors: {
  custom: {
    50: '#7980b9',
    500: '#38509b',
    950: '#000000',
  },
}
SCSS
$custom: #38509b;
$custom-light: #7980b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38509b",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 225.455,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45284,
    "c": 0.1253,
    "h": 267.8
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#38509B
secondary
#B9A975
accent
#B651D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38509B

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

Preview Lab → · Contrast checker → · Palette generator →

#38509B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva