#3A368F#3A368F

#3A368F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.143 H 279.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3A368F
RGBrgb(58, 54, 143)
HSLhsl(243, 45%, 39%)
HSVhsv(243, 62%, 56%)
CMYKcmyk(59.4%, 62.2%, 0%, 43.9%)
CIE-LABlab(28.17, 28.93, -48.91)
CIE-LCHlch(28.17, 56.82, 300.60°)
OKLaboklab(39.26% 0.0237 -0.1405)
OKLCHoklch(39.26% 0.143 279.6)
XYZxyz(8.0204, 5.5205, 26.6242)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A368F #8B8F36
analogous
#365E8F #3A368F #66368F
triadic
#3A368F #8F3A36 #368F3A
tetradic
#3A368F #8F365E #8B8F36 #368F66
square
#3A368F #8F365E #8B8F36 #368F66
split-complementary
#3A368F #8F6636 #5E8F36
monochromatic
#161436 #282563 #3A368F #4D48BA #7975CB

Accessibility & contrast

On white

9.98
#3A368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A368F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A368F#FFFFFF#000000##FFFFFF
##3A368F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#044C5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a368f;
/* rgb */ color: rgb(58, 54, 143);
/* oklch */ color: oklch(39.3% 0.143 279.6);
Tailwind
colors: {
  custom: {
    50: '#796db1',
    500: '#3a368f',
    950: '#000000',
  },
}
SCSS
$custom: #3a368f;
$custom-light: #796db1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a368f",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 242.697,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39264,
    "c": 0.14251,
    "h": 279.6
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#3A368F
secondary
#B0B36D
accent
#D553CF
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3A368F

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

Preview Lab → · Contrast checker → · Palette generator →

#3A368F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva