#4538B8#4538B8

#4538B8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.192 H 279.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4538B8
RGBrgb(69, 56, 184)
HSLhsl(246, 53%, 47%)
HSVhsv(246, 70%, 72%)
CMYKcmyk(62.5%, 69.6%, 0%, 27.8%)
CIE-LABlab(33.03, 43.03, -65.68)
CIE-LCHlch(33.03, 78.52, 303.23°)
OKLaboklab(44.11% 0.032 -0.1894)
OKLCHoklch(44.11% 0.192 279.6)
XYZxyz(12.5174, 7.5533, 46.1364)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538B8 #ABB838
analogous
#386BB8 #4538B8 #8538B8
triadic
#4538B8 #B84538 #38B845
tetradic
#4538B8 #B8386B #ABB838 #38B885
square
#4538B8 #B8386B #ABB838 #38B885
split-complementary
#4538B8 #B88538 #6BB838
monochromatic
#221B5A #332A89 #4538B8 #6A5FCE #968EDD

Accessibility & contrast

On white

8.36
#4538B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4538B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538B8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538B8#FFFFFF#000000##FFFFFF
##4538B81.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4538b8;
/* rgb */ color: rgb(69, 56, 184);
/* oklch */ color: oklch(44.1% 0.192 279.6);
Tailwind
colors: {
  custom: {
    50: '#8670ce',
    500: '#4538b8',
    950: '#000000',
  },
}
SCSS
$custom: #4538b8;
$custom-light: #8670ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4538b8",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 246.094,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44109,
    "c": 0.19208,
    "h": 279.6
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#4538B8
secondary
#C0C785
accent
#DD4BCE
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4538B8

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

Preview Lab → · Contrast checker → · Palette generator →

#4538B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva