#34366F#34366F

#34366F is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.096 H 278.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#34366F
RGBrgb(52, 54, 111)
HSLhsl(238, 36%, 32%)
HSVhsv(238, 53%, 44%)
CMYKcmyk(53.2%, 51.4%, 0%, 56.5%)
CIE-LABlab(25.31, 16.55, -33.46)
CIE-LCHlch(25.31, 37.33, 296.32°)
OKLaboklab(36.26% 0.015 -0.0953)
OKLCHoklch(36.26% 0.096 278.9)
XYZxyz(5.6037, 4.5158, 15.6122)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34366F #6F6D34
analogous
#34546F #34366F #50346F
triadic
#34366F #6F3436 #366F34
tetradic
#34366F #6F3454 #6F6D34 #346F50
square
#34366F #6F3454 #6F6D34 #346F50
split-complementary
#34366F #6F5034 #546F34
monochromatic
#0D0D1C #202245 #34366F #484A99 #6669B7

Accessibility & contrast

On white

11.03
#34366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#34366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34366F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34366F#FFFFFF#000000##FFFFFF
##34366F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E71
Deuteranopia (green-blind)
#163A6E
Tritanopia (blue-blind)
#1C424D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34366f;
/* rgb */ color: rgb(52, 54, 111);
/* oklch */ color: oklch(36.3% 0.096 278.9);
Tailwind
colors: {
  custom: {
    50: '#706d99',
    500: '#34366f',
    950: '#000000',
  },
}
SCSS
$custom: #34366f;
$custom-light: #706d99;
$custom-dark: #000000;
JSON
{
  "hex": "#34366f",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 237.966,
    "s": 36.196,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36256,
    "c": 0.09644,
    "h": 278.9
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#34366F
secondary
#A09D5F
accent
#C85CCC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #34366F

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

Preview Lab → · Contrast checker → · Palette generator →

#34366F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva