#383DAF#383DAF

#383DAF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.178 H 274.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#383DAF
RGBrgb(56, 61, 175)
HSLhsl(237, 52%, 45%)
HSVhsv(237, 68%, 69%)
CMYKcmyk(68%, 65.1%, 0%, 31.4%)
CIE-LABlab(32.42, 35.22, -61.38)
CIE-LCHlch(32.42, 70.76, 299.85°)
OKLaboklab(43.18% 0.013 -0.1771)
OKLCHoklch(43.18% 0.178 274.2)
XYZxyz(11.0349, 7.2724, 41.3713)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DAF #AFAA38
analogous
#3878AF #383DAF #6E38AF
triadic
#383DAF #AF383D #3DAF38
tetradic
#383DAF #AF3878 #AFAA38 #38AF6E
square
#383DAF #AF3878 #AFAA38 #38AF6E
split-complementary
#383DAF #AF6E38 #78AF38
monochromatic
#1A1D52 #292D81 #383DAF #5A5FCA #888CD9

Accessibility & contrast

On white

8.56
#383DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#383DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DAF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DAF#FFFFFF#000000##FFFFFF
##383DAF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383daf;
/* rgb */ color: rgb(56, 61, 175);
/* oklch */ color: oklch(43.2% 0.178 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e73c8',
    500: '#383daf',
    950: '#000000',
  },
}
SCSS
$custom: #383daf;
$custom-light: #7e73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#383daf",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 237.479,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.17762,
    "h": 274.2
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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