#344397#344397

#344397 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.138 H 271.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#344397
RGBrgb(52, 67, 151)
HSLhsl(231, 49%, 40%)
HSVhsv(231, 66%, 59%)
CMYKcmyk(65.6%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.76, 22.11, -48.01)
CIE-LCHlch(31.76, 52.86, 294.73°)
OKLaboklab(42.02% 0.0037 -0.1379)
OKLCHoklch(42.02% 0.138 271.6)
XYZxyz(9.0074, 6.9779, 30.1444)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344397 #978834
analogous
#347597 #344397 #573497
triadic
#344397 #973443 #439734
tetradic
#344397 #973475 #978834 #349757
square
#344397 #973475 #978834 #349757
split-complementary
#344397 #975734 #759734
monochromatic
#151B3C #242F69 #344397 #485AC0 #7683D0

Accessibility & contrast

On white

8.77
#344397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#344397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344397
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344397#FFFFFF#000000##FFFFFF
##3443971.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #344397;
/* rgb */ color: rgb(52, 67, 151);
/* oklch */ color: oklch(42.0% 0.138 271.6);
Tailwind
colors: {
  custom: {
    50: '#7776b6',
    500: '#344397',
    950: '#000000',
  },
}
SCSS
$custom: #344397;
$custom-light: #7776b6;
$custom-dark: #000000;
JSON
{
  "hex": "#344397",
  "rgb": {
    "r": 52,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 230.909,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.13798,
    "h": 271.6
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#344397
secondary
#B8AD6F
accent
#C44FD8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #344397

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

Preview Lab → · Contrast checker → · Palette generator →

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