#344381#344381

#344381 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.105 H 270.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#344381
RGBrgb(52, 67, 129)
HSLhsl(228, 43%, 35%)
HSVhsv(228, 60%, 51%)
CMYKcmyk(59.7%, 48.1%, 0%, 49.4%)
CIE-LABlab(30.23, 14.10, -36.94)
CIE-LCHlch(30.23, 39.53, 290.89°)
OKLaboklab(40.37% 0.0015 -0.1053)
OKLCHoklch(40.37% 0.105 270.8)
XYZxyz(7.3845, 6.3288, 21.5971)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344381 #817234
analogous
#346981 #344381 #4C3481
triadic
#344381 #813443 #438134
tetradic
#344381 #813469 #817234 #34814C
square
#344381 #813469 #817234 #34814C
split-complementary
#344381 #814C34 #698134
monochromatic
#11162A #222C55 #344381 #465AAD #6C7DC4

Accessibility & contrast

On white

9.27
#344381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#344381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344381
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344381#FFFFFF#000000##FFFFFF
##3443811.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B83
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #344381;
/* rgb */ color: rgb(52, 67, 129);
/* oklch */ color: oklch(40.4% 0.105 270.8);
Tailwind
colors: {
  custom: {
    50: '#7276a6',
    500: '#344381',
    950: '#000000',
  },
}
SCSS
$custom: #344381;
$custom-light: #7276a6;
$custom-dark: #000000;
JSON
{
  "hex": "#344381",
  "rgb": {
    "r": 52,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 228.312,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.10536,
    "h": 270.8
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#344381
secondary
#AC9E65
accent
#BA55D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #344381

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

Preview Lab → · Contrast checker → · Palette generator →

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