#334263#334263

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

Color values

HEX#334263
RGBrgb(51, 66, 99)
HSLhsl(221, 32%, 29%)
HSVhsv(221, 48%, 39%)
CMYKcmyk(48.5%, 33.3%, 0%, 61.2%)
CIE-LABlab(28.12, 4.00, -21.32)
CIE-LCHlch(28.12, 21.69, 280.61°)
OKLaboklab(38.16% -0.0052 -0.0598)
OKLCHoklch(38.16% 0.06 265)
XYZxyz(5.5649, 5.5008, 12.5705)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334263 #635433
analogous
#335A63 #334263 #3C3363
triadic
#334263 #633342 #426333
tetradic
#334263 #63335A #635433 #33633C
square
#334263 #63335A #635433 #33633C
split-complementary
#334263 #633C33 #5A6333
monochromatic
#0A0D14 #1E273B #334263 #485D8B #627AAE

Accessibility & contrast

On white

10.00
#334263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334263
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334263#FFFFFF#000000##FFFFFF
##3342631.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364564
Deuteranopia (green-blind)
#314062
Tritanopia (blue-blind)
#21494E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334263;
/* rgb */ color: rgb(51, 66, 99);
/* oklch */ color: oklch(38.2% 0.060 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d768f',
    500: '#334263',
    950: '#000000',
  },
}
SCSS
$custom: #334263;
$custom-light: #6d768f;
$custom-dark: #000000;
JSON
{
  "hex": "#334263",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 99
  },
  "hsl": {
    "h": 221.25,
    "s": 32,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3816,
    "c": 0.06001,
    "h": 265
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#334263
secondary
#94835E
accent
#A760C8
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #334263

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

Preview Lab → · Contrast checker → · Palette generator →

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