#38489F#38489F

#38489F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.142 H 271.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#38489F
RGBrgb(56, 72, 159)
HSLhsl(231, 48%, 42%)
HSVhsv(231, 65%, 62%)
CMYKcmyk(64.8%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.94, 22.39, -49.32)
CIE-LCHlch(33.94, 54.16, 294.42°)
OKLaboklab(43.9% 0.0037 -0.1416)
OKLCHoklch(43.9% 0.142 271.5)
XYZxyz(10.2042, 7.9778, 33.7963)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38489F #9F8F38
analogous
#387B9F #38489F #5C389F
triadic
#38489F #9F3848 #489F38
tetradic
#38489F #9F387B #9F8F38 #389F5C
square
#38489F #9F387B #9F8F38 #389F5C
split-complementary
#38489F #9F5C38 #7B9F38
monochromatic
#181F44 #283472 #38489F #5263C2 #7F8CD2

Accessibility & contrast

On white

8.09
#38489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#38489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38489F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38489F#FFFFFF#000000##FFFFFF
##38489F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B55A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38489f;
/* rgb */ color: rgb(56, 72, 159);
/* oklch */ color: oklch(43.9% 0.142 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a7abc',
    500: '#38489f',
    950: '#000000',
  },
}
SCSS
$custom: #38489f;
$custom-light: #7a7abc;
$custom-dark: #000000;
JSON
{
  "hex": "#38489f",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 230.68,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.14166,
    "h": 271.5
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#38489F
secondary
#BBB177
accent
#C250D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38489F

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

Preview Lab → · Contrast checker → · Palette generator →

#38489F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva