#38438E#38438E

#38438E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.124 H 273.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#38438E
RGBrgb(56, 67, 142)
HSLhsl(232, 43%, 39%)
HSVhsv(232, 61%, 56%)
CMYKcmyk(60.6%, 52.8%, 0%, 44.3%)
CIE-LABlab(31.36, 19.60, -43.13)
CIE-LCHlch(31.36, 47.38, 294.44°)
OKLaboklab(41.58% 0.0076 -0.1235)
OKLCHoklch(41.58% 0.124 273.5)
XYZxyz(8.5189, 6.8074, 26.4510)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38438E #8E8338
analogous
#386E8E #38438E #58388E
triadic
#38438E #8E3843 #438E38
tetradic
#38438E #8E386E #8E8338 #388E58
square
#38438E #8E386E #8E8338 #388E58
split-complementary
#38438E #8E5838 #6E8E38
monochromatic
#151A36 #272E62 #38438E #4B59B8 #7782C9

Accessibility & contrast

On white

8.89
#38438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#38438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38438E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38438E#FFFFFF#000000##FFFFFF
##38438E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#04468C
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38438e;
/* rgb */ color: rgb(56, 67, 142);
/* oklch */ color: oklch(41.6% 0.124 273.5);
Tailwind
colors: {
  custom: {
    50: '#7776b0',
    500: '#38438e',
    950: '#000000',
  },
}
SCSS
$custom: #38438e;
$custom-light: #7776b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38438e",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 232.326,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.1237,
    "h": 273.5
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#38438E
secondary
#B2AA6F
accent
#C355D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38438E

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

Preview Lab → · Contrast checker → · Palette generator →

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