#343BAF#343BAF

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

Color values

HEX#343BAF
RGBrgb(52, 59, 175)
HSLhsl(237, 54%, 45%)
HSVhsv(237, 70%, 69%)
CMYKcmyk(70.3%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.70, 35.95, -62.57)
CIE-LCHlch(31.70, 72.16, 299.88°)
OKLaboklab(42.59% 0.0099 -0.1807)
OKLCHoklch(42.59% 0.181 273.1)
XYZxyz(10.7154, 6.9521, 41.3263)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BAF #AFA834
analogous
#3479AF #343BAF #6A34AF
triadic
#343BAF #AF343B #3BAF34
tetradic
#343BAF #AF3479 #AFA834 #34AF6A
square
#343BAF #AF3479 #AFA834 #34AF6A
split-complementary
#343BAF #AF6A34 #79AF34
monochromatic
#181B51 #262B80 #343BAF #545BCC #8388DA

Accessibility & contrast

On white

8.78
#343BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#343BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BAF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BAF#FFFFFF#000000##FFFFFF
##343BAF1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343baf;
/* rgb */ color: rgb(52, 59, 175);
/* oklch */ color: oklch(42.6% 0.181 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c71c8',
    500: '#343baf',
    950: '#000000',
  },
}
SCSS
$custom: #343baf;
$custom-light: #7c71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#343baf",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 236.585,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.18102,
    "h": 273.1
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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