#334264#334264

#334264 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.062 H 265.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#334264
RGBrgb(51, 66, 100)
HSLhsl(222, 32%, 30%)
HSVhsv(222, 49%, 39%)
CMYKcmyk(49%, 34%, 0%, 60.8%)
CIE-LABlab(28.17, 4.33, -21.88)
CIE-LCHlch(28.17, 22.31, 281.20°)
OKLaboklab(38.22% -0.0049 -0.0614)
OKLCHoklch(38.22% 0.062 265.4)
XYZxyz(5.6130, 5.5200, 12.8238)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334264 #645533
analogous
#335B64 #334264 #3D3364
triadic
#334264 #643342 #426433
tetradic
#334264 #64335B #645533 #33643D
square
#334264 #64335B #645533 #33643D
split-complementary
#334264 #643D33 #5B6433
monochromatic
#0A0D14 #1E273B #334264 #485D8D #627AAF

Accessibility & contrast

On white

9.98
#334264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#334264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334264
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334264#FFFFFF#000000##FFFFFF
##3342641.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364565
Deuteranopia (green-blind)
#304063
Tritanopia (blue-blind)
#20494E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334264;
/* rgb */ color: rgb(51, 66, 100);
/* oklch */ color: oklch(38.2% 0.062 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d7690',
    500: '#334264',
    950: '#000000',
  },
}
SCSS
$custom: #334264;
$custom-light: #6d7690;
$custom-dark: #000000;
JSON
{
  "hex": "#334264",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 100
  },
  "hsl": {
    "h": 221.633,
    "s": 32.45,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.0616,
    "h": 265.4
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#334264
secondary
#95845E
accent
#A85FC9
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #334264

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

Preview Lab → · Contrast checker → · Palette generator →

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