#334367#334367

#334367 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.065 H 265.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#334367
RGBrgb(51, 67, 103)
HSLhsl(222, 34%, 30%)
HSVhsv(222, 50%, 40%)
CMYKcmyk(50.5%, 35%, 0%, 59.6%)
CIE-LABlab(28.63, 4.68, -23.07)
CIE-LCHlch(28.63, 23.54, 281.47°)
OKLaboklab(38.63% -0.0054 -0.0648)
OKLCHoklch(38.63% 0.065 265.2)
XYZxyz(5.8198, 5.6970, 13.6223)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334367 #675733
analogous
#335D67 #334367 #3D3367
triadic
#334367 #673343 #436733
tetradic
#334367 #67335D #675733 #33673D
square
#334367 #67335D #675733 #33673D
split-complementary
#334367 #673D33 #5D6733
monochromatic
#0A0E15 #1F283E #334367 #475E90 #637BB2

Accessibility & contrast

On white

9.82
#334367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#334367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334367
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334367#FFFFFF#000000##FFFFFF
##3343671.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364669
Deuteranopia (green-blind)
#304166
Tritanopia (blue-blind)
#1E4B50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334367;
/* rgb */ color: rgb(51, 67, 103);
/* oklch */ color: oklch(38.6% 0.065 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e7692',
    500: '#334367',
    950: '#000000',
  },
}
SCSS
$custom: #334367;
$custom-light: #6e7692;
$custom-dark: #000000;
JSON
{
  "hex": "#334367",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 103
  },
  "hsl": {
    "h": 221.538,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.06506,
    "h": 265.2
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#334367
secondary
#98865E
accent
#A95ECA
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #334367

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

Preview Lab → · Contrast checker → · Palette generator →

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