#38347B#38347B

#38347B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 37.1% C 0.117 H 281.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#38347B
RGBrgb(56, 52, 123)
HSLhsl(243, 41%, 34%)
HSVhsv(243, 58%, 48%)
CMYKcmyk(54.5%, 57.7%, 0%, 51.8%)
CIE-LABlab(25.94, 22.98, -40.05)
CIE-LCHlch(25.94, 46.18, 299.85°)
OKLaboklab(37.09% 0.0235 -0.1145)
OKLCHoklch(37.09% 0.117 281.6)
XYZxyz(6.4329, 4.7264, 19.3084)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38347B #777B34
analogous
#34547B #38347B #5C347B
triadic
#38347B #7B3834 #347B38
tetradic
#38347B #7B3454 #777B34 #347B5C
square
#38347B #7B3454 #777B34 #347B5C
split-complementary
#38347B #7B5C34 #547B34
monochromatic
#111025 #242250 #38347B #4C46A6 #6E6AC0

Accessibility & contrast

On white

10.79
#38347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#38347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38347B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38347B#FFFFFF#000000##FFFFFF
##38347B1.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)
#05407D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#1C4452
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38347b;
/* rgb */ color: rgb(56, 52, 123);
/* oklch */ color: oklch(37.1% 0.117 281.6);
Tailwind
colors: {
  custom: {
    50: '#756ba2',
    500: '#38347b',
    950: '#000000',
  },
}
SCSS
$custom: #38347b;
$custom-light: #756ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#38347b",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 243.38,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37086,
    "c": 0.11694,
    "h": 281.6
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#38347B
secondary
#A4A863
accent
#D057CA
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #38347B

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

Preview Lab → · Contrast checker → · Palette generator →

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