#343F93#343F93

#343F93 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.138 H 273.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#343F93
RGBrgb(52, 63, 147)
HSLhsl(233, 48%, 39%)
HSVhsv(233, 65%, 58%)
CMYKcmyk(64.6%, 57.1%, 0%, 42.4%)
CIE-LABlab(30.38, 23.33, -47.80)
CIE-LCHlch(30.38, 53.19, 296.01°)
OKLaboklab(40.89% 0.0074 -0.1374)
OKLCHoklch(40.89% 0.138 273.1)
XYZxyz(8.4584, 6.3909, 28.3859)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F93 #938834
analogous
#346F93 #343F93 #593493
triadic
#343F93 #93343F #3F9334
tetradic
#343F93 #93346F #938834 #349359
square
#343F93 #93346F #938834 #349359
split-complementary
#343F93 #935934 #6F9334
monochromatic
#141839 #242C66 #343F93 #4654BE #747ECE

Accessibility & contrast

On white

9.22
#343F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#343F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F93
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F93#FFFFFF#000000##FFFFFF
##343F931.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343f93;
/* rgb */ color: rgb(52, 63, 147);
/* oklch */ color: oklch(40.9% 0.138 273.1);
Tailwind
colors: {
  custom: {
    50: '#7673b3',
    500: '#343f93',
    950: '#000000',
  },
}
SCSS
$custom: #343f93;
$custom-light: #7673b3;
$custom-dark: #000000;
JSON
{
  "hex": "#343f93",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 233.053,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40889,
    "c": 0.13756,
    "h": 273.1
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#343F93
secondary
#B6AE6D
accent
#C850D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343F93

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

Preview Lab → · Contrast checker → · Palette generator →

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