#38347E#38347E

#38347E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.121 H 281.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#38347E
RGBrgb(56, 52, 126)
HSLhsl(243, 42%, 35%)
HSVhsv(243, 59%, 49%)
CMYKcmyk(55.6%, 58.7%, 0%, 50.6%)
CIE-LABlab(26.17, 24.01, -41.58)
CIE-LCHlch(26.17, 48.02, 300.00°)
OKLaboklab(37.32% 0.0235 -0.119)
OKLCHoklch(37.32% 0.121 281.2)
XYZxyz(6.6236, 4.8027, 20.3126)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38347E #7A7E34
analogous
#34557E #38347E #5D347E
triadic
#38347E #7E3834 #347E38
tetradic
#38347E #7E3455 #7A7E34 #347E5D
square
#38347E #7E3455 #7A7E34 #347E5D
split-complementary
#38347E #7E5D34 #557E34
monochromatic
#111027 #252253 #38347E #4B46A9 #6F6BC2

Accessibility & contrast

On white

10.71
#38347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#38347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38347E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38347E#FFFFFF#000000##FFFFFF
##38347E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#194553
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38347e;
/* rgb */ color: rgb(56, 52, 126);
/* oklch */ color: oklch(37.3% 0.121 281.2);
Tailwind
colors: {
  custom: {
    50: '#756ba4',
    500: '#38347e',
    950: '#000000',
  },
}
SCSS
$custom: #38347e;
$custom-light: #756ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#38347e",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 243.243,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37324,
    "c": 0.12135,
    "h": 281.2
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#38347E
secondary
#A6AA64
accent
#D156CB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #38347E

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

Preview Lab → · Contrast checker → · Palette generator →

#38347E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva