#38457A#38457A

#38457A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.090 H 271.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#38457A
RGBrgb(56, 69, 122)
HSLhsl(228, 37%, 35%)
HSVhsv(228, 54%, 48%)
CMYKcmyk(54.1%, 43.4%, 0%, 52.2%)
CIE-LABlab(30.64, 11.20, -31.89)
CIE-LCHlch(30.64, 33.80, 289.35°)
OKLaboklab(40.62% 0.0023 -0.0904)
OKLCHoklch(40.62% 0.09 271.5)
XYZxyz(7.2707, 6.5017, 19.2804)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38457A #7A6D38
analogous
#38667A #38457A #4C387A
triadic
#38457A #7A3845 #457A38
tetradic
#38457A #7A3866 #7A6D38 #387A4C
square
#38457A #7A3866 #7A6D38 #387A4C
split-complementary
#38457A #7A4C38 #667A38
monochromatic
#111626 #252D50 #38457A #4B5DA4 #6F7FBD

Accessibility & contrast

On white

9.13
#38457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#38457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38457A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38457A#FFFFFF#000000##FFFFFF
##38457A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#1A5059
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #38457a;
/* rgb */ color: rgb(56, 69, 122);
/* oklch */ color: oklch(40.6% 0.090 271.5);
Tailwind
colors: {
  custom: {
    50: '#7378a1',
    500: '#38457a',
    950: '#000000',
  },
}
SCSS
$custom: #38457a;
$custom-light: #7378a1;
$custom-dark: #000000;
JSON
{
  "hex": "#38457a",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 228.182,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40619,
    "c": 0.09046,
    "h": 271.5
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#38457A
secondary
#A69A68
accent
#B75BCD
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #38457A

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

Preview Lab → · Contrast checker → · Palette generator →

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