#38538E#38538E

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

Color values

HEX#38538E
RGBrgb(56, 83, 142)
HSLhsl(221, 43%, 39%)
HSVhsv(221, 61%, 56%)
CMYKcmyk(60.6%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.94, 8.99, -35.80)
CIE-LCHlch(35.94, 36.91, 284.10°)
OKLaboklab(45.08% -0.0104 -0.1017)
OKLCHoklch(45.08% 0.102 264.2)
XYZxyz(9.6050, 8.9795, 26.8130)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38538E #8E7338
analogous
#387E8E #38538E #48388E
triadic
#38538E #8E3853 #538E38
tetradic
#38538E #8E387E #8E7338 #388E48
square
#38538E #8E387E #8E7338 #388E48
split-complementary
#38538E #8E4838 #7E8E38
monochromatic
#152036 #273962 #38538E #4B6DB8 #7791C9

Accessibility & contrast

On white

7.51
#38538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38538E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38538E#FFFFFF#000000##FFFFFF
##38538E1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #38538e;
/* rgb */ color: rgb(56, 83, 142);
/* oklch */ color: oklch(45.1% 0.102 264.2);
Tailwind
colors: {
  custom: {
    50: '#7683af',
    500: '#38538e',
    950: '#000000',
  },
}
SCSS
$custom: #38538e;
$custom-light: #7683af;
$custom-dark: #000000;
JSON
{
  "hex": "#38538e",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 221.163,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.10227,
    "h": 264.2
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#38538E
secondary
#B29D6F
accent
#AB55D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38538E

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

Preview Lab → · Contrast checker → · Palette generator →

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