#38459D#38459D

#38459D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.143 H 272.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#38459D
RGBrgb(56, 69, 157)
HSLhsl(232, 47%, 42%)
HSVhsv(232, 64%, 62%)
CMYKcmyk(64.3%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.99, 23.66, -49.65)
CIE-LCHlch(32.99, 55.00, 295.48°)
OKLaboklab(43.14% 0.0065 -0.1426)
OKLCHoklch(43.14% 0.143 272.6)
XYZxyz(9.8428, 7.5305, 32.8266)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38459D #9D9038
analogous
#38789D #38459D #5E389D
triadic
#38459D #9D3845 #459D38
tetradic
#38459D #9D3878 #9D9038 #389D5E
square
#38459D #9D3878 #9D9038 #389D5E
split-complementary
#38459D #9D5E38 #789D38
monochromatic
#181D43 #283170 #38459D #5160C1 #7E89D1

Accessibility & contrast

On white

8.38
#38459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#38459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38459D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38459D#FFFFFF#000000##FFFFFF
##38459D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #38459d;
/* rgb */ color: rgb(56, 69, 157);
/* oklch */ color: oklch(43.1% 0.143 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a78bb',
    500: '#38459d',
    950: '#000000',
  },
}
SCSS
$custom: #38459d;
$custom-light: #7a78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#38459d",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 232.277,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.14277,
    "h": 272.6
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#38459D
secondary
#BAB276
accent
#C651D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38459D

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

Preview Lab → · Contrast checker → · Palette generator →

#38459D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva