#38458E#38458E

#38458E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.121 H 272.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#38458E
RGBrgb(56, 69, 142)
HSLhsl(231, 43%, 39%)
HSVhsv(231, 61%, 56%)
CMYKcmyk(60.6%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.92, 18.27, -42.24)
CIE-LCHlch(31.92, 46.02, 293.39°)
OKLaboklab(42% 0.0054 -0.1208)
OKLCHoklch(42% 0.121 272.6)
XYZxyz(8.6399, 7.0493, 26.4913)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38458E #8E8138
analogous
#38708E #38458E #56388E
triadic
#38458E #8E3845 #458E38
tetradic
#38458E #8E3870 #8E8138 #388E56
square
#38458E #8E3870 #8E8138 #388E56
split-complementary
#38458E #8E5638 #708E38
monochromatic
#151A36 #273062 #38458E #4B5CB8 #7783C9

Accessibility & contrast

On white

8.71
#38458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#38458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38458E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38458E#FFFFFF#000000##FFFFFF
##38458E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38458e;
/* rgb */ color: rgb(56, 69, 142);
/* oklch */ color: oklch(42.0% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#7778af',
    500: '#38458e',
    950: '#000000',
  },
}
SCSS
$custom: #38458e;
$custom-light: #7778af;
$custom-dark: #000000;
JSON
{
  "hex": "#38458e",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 230.93,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.12094,
    "h": 272.6
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#38458E
secondary
#B2A86F
accent
#C055D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38458E

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

Preview Lab → · Contrast checker → · Palette generator →

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