#343BB1#343BB1

#343BB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.184 H 273.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#343BB1
RGBrgb(52, 59, 177)
HSLhsl(237, 55%, 45%)
HSVhsv(237, 71%, 69%)
CMYKcmyk(70.6%, 66.7%, 0%, 30.6%)
CIE-LABlab(31.88, 36.65, -63.46)
CIE-LCHlch(31.88, 73.29, 300.01°)
OKLaboklab(42.77% 0.0097 -0.1834)
OKLCHoklch(42.77% 0.184 273)
XYZxyz(10.9133, 7.0313, 42.3685)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BB1 #B1AA34
analogous
#347AB1 #343BB1 #6C34B1
triadic
#343BB1 #B1343B #3BB134
tetradic
#343BB1 #B1347A #B1AA34 #34B16C
square
#343BB1 #B1347A #B1AA34 #34B16C
split-complementary
#343BB1 #B16C34 #7AB134
monochromatic
#181B52 #262B82 #343BB1 #555CCD #8489DB

Accessibility & contrast

On white

8.73
#343BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#343BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BB1
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BB1#FFFFFF#000000##FFFFFF
##343BB11.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343bb1;
/* rgb */ color: rgb(52, 59, 177);
/* oklch */ color: oklch(42.8% 0.184 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d71c9',
    500: '#343bb1',
    950: '#000000',
  },
}
SCSS
$custom: #343bb1;
$custom-light: #7d71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#343bb1",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 236.64,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.18363,
    "h": 273
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#343BB1
secondary
#C5C07C
accent
#D64ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343BB1

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

Preview Lab → · Contrast checker → · Palette generator →

#343BB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva