#343273#343273

#343273 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.7% C 0.109 H 280.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#343273
RGBrgb(52, 50, 115)
HSLhsl(242, 39%, 32%)
HSVhsv(242, 57%, 45%)
CMYKcmyk(54.8%, 56.5%, 0%, 54.9%)
CIE-LABlab(24.48, 20.67, -37.35)
CIE-LCHlch(24.48, 42.69, 298.96°)
OKLaboklab(35.72% 0.0203 -0.1067)
OKLCHoklch(35.72% 0.109 280.8)
XYZxyz(5.6503, 4.2487, 16.7387)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343273 #717332
analogous
#325173 #343273 #543273
triadic
#343273 #733432 #327334
tetradic
#343273 #733251 #717332 #327354
square
#343273 #733251 #717332 #327354
split-complementary
#343273 #735432 #517332
monochromatic
#0D0D1E #211F48 #343273 #47459E #6764BC

Accessibility & contrast

On white

11.35
#343273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#343273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343273
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343273#FFFFFF#000000##FFFFFF
##3432731.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#033872
Tritanopia (blue-blind)
#19414D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #343273;
/* rgb */ color: rgb(52, 50, 115);
/* oklch */ color: oklch(35.7% 0.109 280.8);
Tailwind
colors: {
  custom: {
    50: '#716a9c',
    500: '#343273',
    950: '#000000',
  },
}
SCSS
$custom: #343273;
$custom-light: #716a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#343273",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 241.846,
    "s": 39.394,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.10865,
    "h": 280.8
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#343273
secondary
#A1A35D
accent
#CF59CC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #343273

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

Preview Lab → · Contrast checker → · Palette generator →

#343273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva