#38307C#38307C

#38307C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.124 H 283.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#38307C
RGBrgb(56, 48, 124)
HSLhsl(246, 44%, 34%)
HSVhsv(246, 61%, 49%)
CMYKcmyk(54.8%, 61.3%, 0%, 51.4%)
CIE-LABlab(24.98, 25.97, -42.24)
CIE-LCHlch(24.98, 49.58, 301.59°)
OKLaboklab(36.4% 0.0281 -0.121)
OKLCHoklch(36.4% 0.124 283.1)
XYZxyz(6.3248, 4.4095, 19.5827)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38307C #747C30
analogous
#304E7C #38307C #5E307C
triadic
#38307C #7C3830 #307C38
tetradic
#38307C #7C304E #747C30 #307C5E
square
#38307C #7C304E #747C30 #307C5E
split-complementary
#38307C #7C5E30 #4E7C30
monochromatic
#100E24 #241F50 #38307C #4C41A8 #6E64C3

Accessibility & contrast

On white

11.16
#38307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#38307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38307C
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38307C#FFFFFF#000000##FFFFFF
##38307C1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#1C4251
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #38307c;
/* rgb */ color: rgb(56, 48, 124);
/* oklch */ color: oklch(36.4% 0.124 283.1);
Tailwind
colors: {
  custom: {
    50: '#7568a2',
    500: '#38307c',
    950: '#000000',
  },
}
SCSS
$custom: #38307c;
$custom-light: #7568a2;
$custom-dark: #000000;
JSON
{
  "hex": "#38307c",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 246.316,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.364,
    "c": 0.12423,
    "h": 283.1
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#38307C
secondary
#A2AA5E
accent
#D454C6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #38307C

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

Preview Lab → · Contrast checker → · Palette generator →

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