#344872#344872

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

Color values

HEX#344872
RGBrgb(52, 72, 114)
HSLhsl(221, 37%, 33%)
HSVhsv(221, 54%, 45%)
CMYKcmyk(54.4%, 36.8%, 0%, 55.3%)
CIE-LABlab(30.83, 5.41, -26.59)
CIE-LCHlch(30.83, 27.14, 281.50°)
OKLaboklab(40.54% -0.0079 -0.075)
OKLCHoklch(40.54% 0.075 264)
XYZxyz(6.7698, 6.5792, 16.8295)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344872 #725E34
analogous
#346772 #344872 #3F3472
triadic
#344872 #723448 #487234
tetradic
#344872 #723467 #725E34 #34723F
square
#344872 #723467 #725E34 #34723F
split-complementary
#344872 #723F34 #677234
monochromatic
#0E131E #212D48 #344872 #47639C #6782BA

Accessibility & contrast

On white

9.07
#344872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#344872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344872
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344872#FFFFFF#000000##FFFFFF
##3448721.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#304671
Tritanopia (blue-blind)
#165157
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #344872;
/* rgb */ color: rgb(52, 72, 114);
/* oklch */ color: oklch(40.5% 0.075 264.0);
Tailwind
colors: {
  custom: {
    50: '#707a9b',
    500: '#344872',
    950: '#000000',
  },
}
SCSS
$custom: #344872;
$custom-light: #707a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#344872",
  "rgb": {
    "r": 52,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 220.645,
    "s": 37.349,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40544,
    "c": 0.07543,
    "h": 264
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#344872
secondary
#A28D60
accent
#A85ACD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #344872

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

Preview Lab → · Contrast checker → · Palette generator →

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