#384BB2#384BB2

#384BB2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.164 H 270.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#384BB2
RGBrgb(56, 75, 178)
HSLhsl(231, 52%, 46%)
HSVhsv(231, 69%, 70%)
CMYKcmyk(68.5%, 57.9%, 0%, 30.2%)
CIE-LABlab(36.15, 27.30, -57.07)
CIE-LCHlch(36.15, 63.27, 295.56°)
OKLaboklab(46.01% 0.0018 -0.1644)
OKLCHoklch(46.01% 0.164 270.6)
XYZxyz(12.1801, 9.0861, 43.2227)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384BB2 #B29F38
analogous
#3888B2 #384BB2 #6238B2
triadic
#384BB2 #B2384B #4BB238
tetradic
#384BB2 #B23888 #B29F38 #38B262
square
#384BB2 #B23888 #B29F38 #38B262
split-complementary
#384BB2 #B26238 #88B238
monochromatic
#1B2455 #293783 #384BB2 #5C6DCC #8A97DA

Accessibility & contrast

On white

7.45
#384BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#384BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384BB2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384BB2#FFFFFF#000000##FFFFFF
##384BB21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384bb2;
/* rgb */ color: rgb(56, 75, 178);
/* oklch */ color: oklch(46.0% 0.164 270.6);
Tailwind
colors: {
  custom: {
    50: '#7e7dca',
    500: '#384bb2',
    950: '#000000',
  },
}
SCSS
$custom: #384bb2;
$custom-light: #7e7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#384bb2",
  "rgb": {
    "r": 56,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 230.656,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.1644,
    "h": 270.6
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#384BB2
secondary
#C5BA81
accent
#C54CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #384BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#384BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva