#38457B#38457B

#38457B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.092 H 271.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#38457B
RGBrgb(56, 69, 123)
HSLhsl(228, 37%, 35%)
HSVhsv(228, 54%, 48%)
CMYKcmyk(54.5%, 43.9%, 0%, 51.8%)
CIE-LABlab(30.70, 11.55, -32.42)
CIE-LCHlch(30.70, 34.41, 289.60°)
OKLaboklab(40.68% 0.0025 -0.092)
OKLCHoklch(40.68% 0.092 271.6)
XYZxyz(7.3330, 6.5266, 19.6084)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38457B #7B6E38
analogous
#38677B #38457B #4C387B
triadic
#38457B #7B3845 #457B38
tetradic
#38457B #7B3867 #7B6E38 #387B4C
square
#38457B #7B3867 #7B6E38 #387B4C
split-complementary
#38457B #7B4C38 #677B38
monochromatic
#121627 #252D51 #38457B #4B5DA5 #707FBE

Accessibility & contrast

On white

9.11
#38457B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38457B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38457B#FFFFFF#000000##FFFFFF
##38457B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7D
Deuteranopia (green-blind)
#27467A
Tritanopia (blue-blind)
#19515A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #38457b;
/* rgb */ color: rgb(56, 69, 123);
/* oklch */ color: oklch(40.7% 0.092 271.6);
Tailwind
colors: {
  custom: {
    50: '#7478a1',
    500: '#38457b',
    950: '#000000',
  },
}
SCSS
$custom: #38457b;
$custom-light: #7478a1;
$custom-dark: #000000;
JSON
{
  "hex": "#38457b",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 123
  },
  "hsl": {
    "h": 228.358,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.09202,
    "h": 271.6
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#38457B
secondary
#A79B68
accent
#B75ACD
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #38457B

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

Preview Lab → · Contrast checker → · Palette generator →

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