#38458F#38458F

#38458F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.122 H 272.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#38458F
RGBrgb(56, 69, 143)
HSLhsl(231, 44%, 39%)
HSVhsv(231, 61%, 56%)
CMYKcmyk(60.8%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.99, 18.63, -42.74)
CIE-LCHlch(31.99, 46.62, 293.55°)
OKLaboklab(42.08% 0.0055 -0.1223)
OKLCHoklch(42.08% 0.122 272.6)
XYZxyz(8.7153, 7.0795, 26.8885)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38458F #8F8238
analogous
#38718F #38458F #57388F
triadic
#38458F #8F3845 #458F38
tetradic
#38458F #8F3871 #8F8238 #388F57
square
#38458F #8F3871 #8F8238 #388F57
split-complementary
#38458F #8F5738 #718F38
monochromatic
#161B37 #273063 #38458F #4B5CB9 #7784CA

Accessibility & contrast

On white

8.69
#38458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#38458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38458F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38458F#FFFFFF#000000##FFFFFF
##38458F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#0A488D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38458f;
/* rgb */ color: rgb(56, 69, 143);
/* oklch */ color: oklch(42.1% 0.122 272.6);
Tailwind
colors: {
  custom: {
    50: '#7778b0',
    500: '#38458f',
    950: '#000000',
  },
}
SCSS
$custom: #38458f;
$custom-light: #7778b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38458f",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 231.034,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.12242,
    "h": 272.6
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#38458F
secondary
#B3A970
accent
#C054D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38458F

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

Preview Lab → · Contrast checker → · Palette generator →

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