#38538F#38538F

#38538F is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.104 H 264.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#38538F
RGBrgb(56, 83, 143)
HSLhsl(221, 44%, 39%)
HSVhsv(221, 61%, 56%)
CMYKcmyk(60.8%, 42%, 0%, 43.9%)
CIE-LABlab(36.00, 9.35, -36.32)
CIE-LCHlch(36.00, 37.50, 284.44°)
OKLaboklab(45.14% -0.0102 -0.1032)
OKLCHoklch(45.14% 0.104 264.4)
XYZxyz(9.6804, 9.0096, 27.2102)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38538F #8F7438
analogous
#387F8F #38538F #49388F
triadic
#38538F #8F3853 #538F38
tetradic
#38538F #8F387F #8F7438 #388F49
square
#38538F #8F387F #8F7438 #388F49
split-complementary
#38538F #8F4938 #7F8F38
monochromatic
#162037 #273963 #38538F #4B6DB9 #7791CA

Accessibility & contrast

On white

7.49
#38538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#38538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38538F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38538F#FFFFFF#000000##FFFFFF
##38538F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#2D518E
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #38538f;
/* rgb */ color: rgb(56, 83, 143);
/* oklch */ color: oklch(45.1% 0.104 264.4);
Tailwind
colors: {
  custom: {
    50: '#7683b0',
    500: '#38538f',
    950: '#000000',
  },
}
SCSS
$custom: #38538f;
$custom-light: #7683b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38538f",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 221.379,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.10375,
    "h": 264.4
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#38538F
secondary
#B39E70
accent
#AC54D3
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38538F

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

Preview Lab → · Contrast checker → · Palette generator →

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