#38308B#38308B

#38308B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.145 H 280.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#38308B
RGBrgb(56, 48, 139)
HSLhsl(245, 49%, 37%)
HSVhsv(245, 65%, 55%)
CMYKcmyk(59.7%, 65.5%, 0%, 45.5%)
CIE-LABlab(26.21, 31.05, -49.63)
CIE-LCHlch(26.21, 58.54, 302.03°)
OKLaboklab(37.69% 0.0272 -0.1427)
OKLCHoklch(37.69% 0.145 280.8)
XYZxyz(7.3466, 4.8182, 24.9640)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38308B #838B30
analogous
#30568B #38308B #66308B
triadic
#38308B #8B3830 #308B38
tetradic
#38308B #8B3056 #838B30 #308B66
square
#38308B #8B3056 #838B30 #308B66
split-complementary
#38308B #8B6630 #568B30
monochromatic
#131130 #26205E #38308B #4A40B8 #726ACC

Accessibility & contrast

On white

10.69
#38308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#38308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38308B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38308B#FFFFFF#000000##FFFFFF
##38308B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#044759
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38308b;
/* rgb */ color: rgb(56, 48, 139);
/* oklch */ color: oklch(37.7% 0.145 280.8);
Tailwind
colors: {
  custom: {
    50: '#7869ae',
    500: '#38308b',
    950: '#000000',
  },
}
SCSS
$custom: #38308b;
$custom-light: #7869ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38308b",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 245.275,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.14531,
    "h": 280.8
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#38308B
secondary
#ACB364
accent
#D850CC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #38308B

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

Preview Lab → · Contrast checker → · Palette generator →

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