#344871#344871

#344871 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.074 H 263.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#344871
RGBrgb(52, 72, 113)
HSLhsl(220, 37%, 32%)
HSVhsv(220, 54%, 44%)
CMYKcmyk(54%, 36.3%, 0%, 55.7%)
CIE-LABlab(30.78, 5.06, -26.05)
CIE-LCHlch(30.78, 26.54, 281.00°)
OKLaboklab(40.49% -0.0082 -0.0734)
OKLCHoklch(40.49% 0.074 263.7)
XYZxyz(6.7132, 6.5566, 16.5314)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344871 #715D34
analogous
#346771 #344871 #3F3471
triadic
#344871 #713448 #487134
tetradic
#344871 #713467 #715D34 #34713F
square
#344871 #713467 #715D34 #34713F
split-complementary
#344871 #713F34 #677134
monochromatic
#0D131D #212D47 #344871 #47639B #6782B9

Accessibility & contrast

On white

9.09
#344871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#344871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344871
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344871#FFFFFF#000000##FFFFFF
##3448711.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B73
Deuteranopia (green-blind)
#314670
Tritanopia (blue-blind)
#175157
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #344871;
/* rgb */ color: rgb(52, 72, 113);
/* oklch */ color: oklch(40.5% 0.074 263.7);
Tailwind
colors: {
  custom: {
    50: '#707a9a',
    500: '#344871',
    950: '#000000',
  },
}
SCSS
$custom: #344871;
$custom-light: #707a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#344871",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 220.328,
    "s": 36.97,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.07389,
    "h": 263.7
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#344871
secondary
#A18C60
accent
#A85BCD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #344871

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

Preview Lab → · Contrast checker → · Palette generator →

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