#38457E#38457E

#38457E is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.097 H 271.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#38457E
RGBrgb(56, 69, 126)
HSLhsl(229, 38%, 36%)
HSVhsv(229, 56%, 49%)
CMYKcmyk(55.6%, 45.2%, 0%, 50.6%)
CIE-LABlab(30.89, 12.59, -34.00)
CIE-LCHlch(30.89, 36.26, 290.32°)
OKLaboklab(40.88% 0.0031 -0.0966)
OKLCHoklch(40.88% 0.097 271.8)
XYZxyz(7.5237, 6.6028, 20.6126)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38457E #7E7138
analogous
#38687E #38457E #4E387E
triadic
#38457E #7E3845 #457E38
tetradic
#38457E #7E3868 #7E7138 #387E4E
square
#38457E #7E3868 #7E7138 #387E4E
split-complementary
#38457E #7E4E38 #687E38
monochromatic
#121729 #252E54 #38457E #4B5CA8 #717FC0

Accessibility & contrast

On white

9.05
#38457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#38457E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38457E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38457E#FFFFFF#000000##FFFFFF
##38457E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#16515B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38457e;
/* rgb */ color: rgb(56, 69, 126);
/* oklch */ color: oklch(40.9% 0.097 271.8);
Tailwind
colors: {
  custom: {
    50: '#7478a4',
    500: '#38457e',
    950: '#000000',
  },
}
SCSS
$custom: #38457e;
$custom-light: #7478a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38457e",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 228.857,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.09667,
    "h": 271.8
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#38457E
secondary
#A99D69
accent
#B959CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #38457E

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

Preview Lab → · Contrast checker → · Palette generator →

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