#3A43B8#3A43B8

#3A43B8 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.182 H 273.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3A43B8
RGBrgb(58, 67, 184)
HSLhsl(236, 52%, 47%)
HSVhsv(236, 68%, 72%)
CMYKcmyk(68.5%, 63.6%, 0%, 27.8%)
CIE-LABlab(34.75, 34.85, -62.90)
CIE-LCHlch(34.75, 71.91, 298.99°)
OKLaboklab(45.16% 0.0102 -0.1815)
OKLCHoklch(45.16% 0.182 273.2)
XYZxyz(12.4009, 8.3734, 46.3008)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43B8 #B8AF3A
analogous
#3A82B8 #3A43B8 #703AB8
triadic
#3A43B8 #B83A43 #43B83A
tetradic
#3A43B8 #B83A82 #B8AF3A #3AB870
square
#3A43B8 #B83A82 #B8AF3A #3AB870
split-complementary
#3A43B8 #B8703A #82B83A
monochromatic
#1D215B #2B3289 #3A43B8 #6269CD #9096DC

Accessibility & contrast

On white

7.85
#3A43B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A43B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A43B8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43B8#FFFFFF#000000##FFFFFF
##3A43B81.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a43b8;
/* rgb */ color: rgb(58, 67, 184);
/* oklch */ color: oklch(45.2% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#8077ce',
    500: '#3a43b8',
    950: '#000000',
  },
}
SCSS
$custom: #3a43b8;
$custom-light: #8077ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43b8",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 235.714,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.18181,
    "h": 273.2
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#3A43B8
secondary
#C7C287
accent
#D14CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A43B8

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

Preview Lab → · Contrast checker → · Palette generator →

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