#38499C#38499C

#38499C is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.136 H 271.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#38499C
RGBrgb(56, 73, 156)
HSLhsl(230, 47%, 42%)
HSVhsv(230, 64%, 61%)
CMYKcmyk(64.1%, 53.2%, 0%, 38.8%)
CIE-LABlab(33.99, 20.65, -47.41)
CIE-LCHlch(33.99, 51.72, 293.53°)
OKLaboklab(43.88% 0.0025 -0.136)
OKLCHoklch(43.88% 0.136 271.1)
XYZxyz(10.0122, 8.0053, 32.4636)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38499C #9C8B38
analogous
#387B9C #38499C #59389C
triadic
#38499C #9C3849 #499C38
tetradic
#38499C #9C387B #9C8B38 #389C59
square
#38499C #9C387B #9C8B38 #389C59
split-complementary
#38499C #9C5938 #7B9C38
monochromatic
#181F42 #28346F #38499C #5164C0 #7E8CD1

Accessibility & contrast

On white

8.07
#38499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#38499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38499C
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38499C#FFFFFF#000000##FFFFFF
##38499C1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16559F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38499c;
/* rgb */ color: rgb(56, 73, 156);
/* oklch */ color: oklch(43.9% 0.136 271.1);
Tailwind
colors: {
  custom: {
    50: '#797bba',
    500: '#38499c',
    950: '#000000',
  },
}
SCSS
$custom: #38499c;
$custom-light: #797bba;
$custom-dark: #000000;
JSON
{
  "hex": "#38499c",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 229.8,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.13602,
    "h": 271.1
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#38499C
secondary
#BAAE76
accent
#C051D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38499C

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

Preview Lab → · Contrast checker → · Palette generator →

#38499C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva