#384297#384297

#384297 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.138 H 273.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#384297
RGBrgb(56, 66, 151)
HSLhsl(234, 46%, 41%)
HSVhsv(234, 63%, 59%)
CMYKcmyk(62.9%, 56.3%, 0%, 40.8%)
CIE-LABlab(31.74, 23.49, -48.03)
CIE-LCHlch(31.74, 53.46, 296.06°)
OKLaboklab(42.07% 0.0092 -0.1379)
OKLCHoklch(42.07% 0.138 273.8)
XYZxyz(9.1632, 6.9708, 30.1348)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384297 #978D38
analogous
#387197 #384297 #5D3897
triadic
#384297 #973842 #429738
tetradic
#384297 #973871 #978D38 #38975D
square
#384297 #973871 #978D38 #38975D
split-complementary
#384297 #975D38 #719738
monochromatic
#171B3E #272E6A #384297 #4F5ABE #7B84CE

Accessibility & contrast

On white

8.77
#384297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#384297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384297
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384297#FFFFFF#000000##FFFFFF
##3842971.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #384297;
/* rgb */ color: rgb(56, 66, 151);
/* oklch */ color: oklch(42.1% 0.138 273.8);
Tailwind
colors: {
  custom: {
    50: '#7976b6',
    500: '#384297',
    950: '#000000',
  },
}
SCSS
$custom: #384297;
$custom-light: #7976b6;
$custom-dark: #000000;
JSON
{
  "hex": "#384297",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 233.684,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42071,
    "c": 0.13819,
    "h": 273.8
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#384297
secondary
#B7B073
accent
#C852D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #384297

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

Preview Lab → · Contrast checker → · Palette generator →

#384297 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva