#38508A#38508A

#38508A is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.100 H 265.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#38508A
RGBrgb(56, 80, 138)
HSLhsl(222, 42%, 38%)
HSVhsv(222, 59%, 54%)
CMYKcmyk(59.4%, 42%, 0%, 45.9%)
CIE-LABlab(34.83, 9.53, -35.14)
CIE-LCHlch(34.83, 36.41, 285.18°)
OKLaboklab(44.14% -0.0078 -0.0998)
OKLCHoklch(44.14% 0.1 265.5)
XYZxyz(9.0854, 8.4123, 25.1848)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38508A #8A7238
analogous
#38798A #38508A #49388A
triadic
#38508A #8A3850 #508A38
tetradic
#38508A #8A3879 #8A7238 #388A49
square
#38508A #8A3879 #8A7238 #388A49
split-complementary
#38508A #8A4938 #798A38
monochromatic
#151E33 #26375E #38508A #4A69B5 #758DC7

Accessibility & contrast

On white

7.83
#38508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#38508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38508A
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38508A#FFFFFF#000000##FFFFFF
##38508A1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #38508a;
/* rgb */ color: rgb(56, 80, 138);
/* oklch */ color: oklch(44.1% 0.100 265.5);
Tailwind
colors: {
  custom: {
    50: '#7680ac',
    500: '#38508a',
    950: '#000000',
  },
}
SCSS
$custom: #38508a;
$custom-light: #7680ac;
$custom-dark: #000000;
JSON
{
  "hex": "#38508a",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 222.439,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.10013,
    "h": 265.5
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#38508A
secondary
#B09D6E
accent
#AE56D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38508A

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

Preview Lab → · Contrast checker → · Palette generator →

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