#3A44B2#3A44B2

#3A44B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.173 H 273.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3A44B2
RGBrgb(58, 68, 178)
HSLhsl(235, 51%, 46%)
HSVhsv(235, 67%, 70%)
CMYKcmyk(67.4%, 61.8%, 0%, 30.2%)
CIE-LABlab(34.49, 32.11, -59.77)
CIE-LCHlch(34.49, 67.85, 298.25°)
OKLaboklab(44.81% 0.0097 -0.1723)
OKLCHoklch(44.81% 0.173 273.2)
XYZxyz(11.8452, 8.2471, 43.0785)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A44B2 #B2A83A
analogous
#3A80B2 #3A44B2 #6C3AB2
triadic
#3A44B2 #B23A44 #44B23A
tetradic
#3A44B2 #B23A80 #B2A83A #3AB26C
square
#3A44B2 #B23A80 #B2A83A #3AB26C
split-complementary
#3A44B2 #B26C3A #80B23A
monochromatic
#1C2156 #2B3284 #3A44B2 #5F68CB #8D93DA

Accessibility & contrast

On white

7.93
#3A44B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A44B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A44B2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A44B2#FFFFFF#000000##FFFFFF
##3A44B21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a44b2;
/* rgb */ color: rgb(58, 68, 178);
/* oklch */ color: oklch(44.8% 0.173 273.2);
Tailwind
colors: {
  custom: {
    50: '#7f78ca',
    500: '#3a44b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a44b2;
$custom-light: #7f78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a44b2",
  "rgb": {
    "r": 58,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 235,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.1726,
    "h": 273.2
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#3A44B2
secondary
#C4BF83
accent
#CF4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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