#383EAF#383EAF

#383EAF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.176 H 274.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#383EAF
RGBrgb(56, 62, 175)
HSLhsl(237, 52%, 45%)
HSVhsv(237, 68%, 69%)
CMYKcmyk(68%, 64.6%, 0%, 31.4%)
CIE-LABlab(32.66, 34.59, -60.99)
CIE-LCHlch(32.66, 70.11, 299.56°)
OKLaboklab(43.35% 0.0123 -0.176)
OKLCHoklch(43.35% 0.176 274)
XYZxyz(11.0888, 7.3801, 41.3893)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EAF #AFA938
analogous
#3879AF #383EAF #6E38AF
triadic
#383EAF #AF383E #3EAF38
tetradic
#383EAF #AF3879 #AFA938 #38AF6E
square
#383EAF #AF3879 #AFA938 #38AF6E
split-complementary
#383EAF #AF6E38 #79AF38
monochromatic
#1A1D52 #292E81 #383EAF #5A60CA #888CD9

Accessibility & contrast

On white

8.48
#383EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#383EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EAF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EAF#FFFFFF#000000##FFFFFF
##383EAF1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383eaf;
/* rgb */ color: rgb(56, 62, 175);
/* oklch */ color: oklch(43.4% 0.176 274.0);
Tailwind
colors: {
  custom: {
    50: '#7e73c8',
    500: '#383eaf',
    950: '#000000',
  },
}
SCSS
$custom: #383eaf;
$custom-light: #7e73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#383eaf",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 236.975,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.17643,
    "h": 274
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#383EAF
secondary
#C3C080
accent
#D44DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383EAF

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

Preview Lab → · Contrast checker → · Palette generator →

#383EAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva