#38458A#38458A

#38458A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.7% C 0.115 H 272.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#38458A
RGBrgb(56, 69, 138)
HSLhsl(230, 42%, 38%)
HSVhsv(230, 59%, 54%)
CMYKcmyk(59.4%, 50%, 0%, 45.9%)
CIE-LABlab(31.65, 16.84, -40.21)
CIE-LCHlch(31.65, 43.60, 292.72°)
OKLaboklab(41.71% 0.0049 -0.1149)
OKLCHoklch(41.71% 0.115 272.5)
XYZxyz(8.3449, 6.9313, 24.9380)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38458A #8A7D38
analogous
#386E8A #38458A #54388A
triadic
#38458A #8A3845 #458A38
tetradic
#38458A #8A386E #8A7D38 #388A54
square
#38458A #8A386E #8A7D38 #388A54
split-complementary
#38458A #8A5438 #6E8A38
monochromatic
#151933 #262F5E #38458A #4A5BB5 #7582C7

Accessibility & contrast

On white

8.80
#38458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#38458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38458A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38458A#FFFFFF#000000##FFFFFF
##38458A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38458a;
/* rgb */ color: rgb(56, 69, 138);
/* oklch */ color: oklch(41.7% 0.115 272.5);
Tailwind
colors: {
  custom: {
    50: '#7678ad',
    500: '#38458a',
    950: '#000000',
  },
}
SCSS
$custom: #38458a;
$custom-light: #7678ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38458a",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 230.488,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.11497,
    "h": 272.5
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#38458A
secondary
#B0A66E
accent
#BE56D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38458A

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

Preview Lab → · Contrast checker → · Palette generator →

#38458A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva