#343BB0#343BB0

#343BB0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.182 H 273.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#343BB0
RGBrgb(52, 59, 176)
HSLhsl(237, 54%, 45%)
HSVhsv(237, 70%, 69%)
CMYKcmyk(70.5%, 66.5%, 0%, 31%)
CIE-LABlab(31.79, 36.30, -63.02)
CIE-LCHlch(31.79, 72.72, 299.94°)
OKLaboklab(42.68% 0.0098 -0.1821)
OKLCHoklch(42.68% 0.182 273.1)
XYZxyz(10.8140, 6.9915, 41.8455)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BB0 #B0A934
analogous
#3479B0 #343BB0 #6B34B0
triadic
#343BB0 #B0343B #3BB034
tetradic
#343BB0 #B03479 #B0A934 #34B06B
square
#343BB0 #B03479 #B0A934 #34B06B
split-complementary
#343BB0 #B06B34 #79B034
monochromatic
#181B52 #262B81 #343BB0 #555BCD #8489DB

Accessibility & contrast

On white

8.76
#343BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#343BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BB0
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BB0#FFFFFF#000000##FFFFFF
##343BB01.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343bb0;
/* rgb */ color: rgb(52, 59, 176);
/* oklch */ color: oklch(42.7% 0.182 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d71c9',
    500: '#343bb0',
    950: '#000000',
  },
}
SCSS
$custom: #343bb0;
$custom-light: #7d71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#343bb0",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 236.613,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42679,
    "c": 0.18232,
    "h": 273.1
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#343BB0
secondary
#C4C07C
accent
#D54ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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