#38348D#38348D

#38348D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.143 H 279.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#38348D
RGBrgb(56, 52, 141)
HSLhsl(243, 46%, 38%)
HSVhsv(243, 63%, 55%)
CMYKcmyk(60.3%, 63.1%, 0%, 44.7%)
CIE-LABlab(27.35, 29.17, -49.01)
CIE-LCHlch(27.35, 57.04, 300.75°)
OKLaboklab(38.57% 0.0232 -0.1409)
OKLCHoklch(38.57% 0.143 279.3)
XYZxyz(7.6651, 5.2193, 25.7976)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38348D #898D34
analogous
#345C8D #38348D #65348D
triadic
#38348D #8D3834 #348D38
tetradic
#38348D #8D345C #898D34 #348D65
square
#38348D #8D345C #898D34 #348D65
split-complementary
#38348D #8D6534 #5C8D34
monochromatic
#141334 #262460 #38348D #4A44BA #7571CB

Accessibility & contrast

On white

10.27
#38348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#38348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38348D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38348D#FFFFFF#000000##FFFFFF
##38348D1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38348d;
/* rgb */ color: rgb(56, 52, 141);
/* oklch */ color: oklch(38.6% 0.143 279.3);
Tailwind
colors: {
  custom: {
    50: '#786caf',
    500: '#38348d',
    950: '#000000',
  },
}
SCSS
$custom: #38348d;
$custom-light: #786caf;
$custom-dark: #000000;
JSON
{
  "hex": "#38348d",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 242.697,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38572,
    "c": 0.1428,
    "h": 279.3
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#38348D
secondary
#AFB36A
accent
#D652D0
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #38348D

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

Preview Lab → · Contrast checker → · Palette generator →

#38348D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva