#38457C#38457C

#38457C is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.094 H 271.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#38457C
RGBrgb(56, 69, 124)
HSLhsl(229, 38%, 35%)
HSVhsv(229, 55%, 49%)
CMYKcmyk(54.8%, 44.4%, 0%, 51.4%)
CIE-LABlab(30.76, 11.89, -32.95)
CIE-LCHlch(30.76, 35.03, 289.85°)
OKLaboklab(40.75% 0.0027 -0.0935)
OKLCHoklch(40.75% 0.094 271.7)
XYZxyz(7.3959, 6.5517, 19.9398)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38457C #7C6F38
analogous
#38677C #38457C #4D387C
triadic
#38457C #7C3845 #457C38
tetradic
#38457C #7C3867 #7C6F38 #387C4D
square
#38457C #7C3867 #7C6F38 #387C4D
split-complementary
#38457C #7C4D38 #677C38
monochromatic
#121628 #252E52 #38457C #4B5CA6 #707FBE

Accessibility & contrast

On white

9.09
#38457C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#38457C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38457C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38457C#FFFFFF#000000##FFFFFF
##38457C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7E
Deuteranopia (green-blind)
#26467B
Tritanopia (blue-blind)
#18515A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #38457c;
/* rgb */ color: rgb(56, 69, 124);
/* oklch */ color: oklch(40.7% 0.094 271.7);
Tailwind
colors: {
  custom: {
    50: '#7478a2',
    500: '#38457c',
    950: '#000000',
  },
}
SCSS
$custom: #38457c;
$custom-light: #7478a2;
$custom-dark: #000000;
JSON
{
  "hex": "#38457c",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 228.529,
    "s": 37.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.09357,
    "h": 271.7
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#38457C
secondary
#A79B68
accent
#B85ACE
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #38457C

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

Preview Lab → · Contrast checker → · Palette generator →

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