#38508E#38508E

#38508E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.106 H 266.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#38508E
RGBrgb(56, 80, 142)
HSLhsl(223, 43%, 39%)
HSVhsv(223, 61%, 56%)
CMYKcmyk(60.6%, 43.7%, 0%, 44.3%)
CIE-LABlab(35.06, 10.96, -37.20)
CIE-LCHlch(35.06, 38.78, 286.42°)
OKLaboklab(44.4% -0.0069 -0.1059)
OKLCHoklch(44.4% 0.106 266.2)
XYZxyz(9.3804, 8.5303, 26.7381)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38508E #8E7638
analogous
#387B8E #38508E #4B388E
triadic
#38508E #8E3850 #508E38
tetradic
#38508E #8E387B #8E7638 #388E4B
square
#38508E #8E387B #8E7638 #388E4B
split-complementary
#38508E #8E4B38 #7B8E38
monochromatic
#151F36 #273762 #38508E #4B6AB8 #778EC9

Accessibility & contrast

On white

7.76
#38508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#38508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38508E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38508E#FFFFFF#000000##FFFFFF
##38508E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #38508e;
/* rgb */ color: rgb(56, 80, 142);
/* oklch */ color: oklch(44.4% 0.106 266.2);
Tailwind
colors: {
  custom: {
    50: '#7680af',
    500: '#38508e',
    950: '#000000',
  },
}
SCSS
$custom: #38508e;
$custom-light: #7680af;
$custom-dark: #000000;
JSON
{
  "hex": "#38508e",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 223.256,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.444,
    "c": 0.10612,
    "h": 266.2
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#38508E
secondary
#B2A06F
accent
#B055D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38508E

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

Preview Lab → · Contrast checker → · Palette generator →

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