#38269F#38269F

#38269F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.183 H 280.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#38269F
RGBrgb(56, 38, 159)
HSLhsl(249, 61%, 39%)
HSVhsv(249, 76%, 62%)
CMYKcmyk(64.8%, 76.1%, 0%, 37.6%)
CIE-LABlab(25.95, 43.48, -62.36)
CIE-LCHlch(25.95, 76.02, 304.88°)
OKLaboklab(38.07% 0.0317 -0.18)
OKLCHoklch(38.07% 0.183 280)
XYZxyz(8.5800, 4.7295, 33.2549)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38269F #8D9F26
analogous
#26509F #38269F #74269F
triadic
#38269F #9F3826 #269F38
tetradic
#38269F #9F2650 #8D9F26 #269F74
square
#38269F #9F2650 #8D9F26 #269F74
split-complementary
#38269F #9F7426 #509F26
monochromatic
#150E3C #271A6E #38269F #4B34CE #7765DA

Accessibility & contrast

On white

10.79
#38269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#38269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38269F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38269F#FFFFFF#000000##FFFFFF
##38269F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38269f;
/* rgb */ color: rgb(56, 38, 159);
/* oklch */ color: oklch(38.1% 0.183 280.0);
Tailwind
colors: {
  custom: {
    50: '#7d63bd',
    500: '#38269f',
    950: '#000000',
  },
}
SCSS
$custom: #38269f;
$custom-light: #7d63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#38269f",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 248.926,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.18276,
    "h": 280
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#38269F
secondary
#B2C061
accent
#E543CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38269F

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

Preview Lab → · Contrast checker → · Palette generator →

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