#334B93#334B93

#334B93 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.122 H 267.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#334B93
RGBrgb(51, 75, 147)
HSLhsl(225, 48%, 39%)
HSVhsv(225, 65%, 58%)
CMYKcmyk(65.3%, 49%, 0%, 42.4%)
CIE-LABlab(33.65, 15.11, -42.52)
CIE-LCHlch(33.65, 45.13, 289.56°)
OKLaboklab(43.35% -0.0057 -0.1217)
OKLCHoklch(43.35% 0.122 267.3)
XYZxyz(9.1460, 7.8417, 28.6297)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B93 #937B33
analogous
#337B93 #334B93 #4B3393
triadic
#334B93 #93334B #4B9333
tetradic
#334B93 #93337B #937B33 #33934B
square
#334B93 #93337B #937B33 #33934B
split-complementary
#334B93 #934B33 #7B9333
monochromatic
#131D38 #233466 #334B93 #4563BE #7289CE

Accessibility & contrast

On white

8.18
#334B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#334B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B93
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B93#FFFFFF#000000##FFFFFF
##334B931.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#124B92
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #334b93;
/* rgb */ color: rgb(51, 75, 147);
/* oklch */ color: oklch(43.3% 0.122 267.3);
Tailwind
colors: {
  custom: {
    50: '#757cb3',
    500: '#334b93',
    950: '#000000',
  },
}
SCSS
$custom: #334b93;
$custom-light: #757cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#334b93",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 147
  },
  "hsl": {
    "h": 225,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.12183,
    "h": 267.3
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#334B93
secondary
#B6A46C
accent
#B650D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #334B93

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

Preview Lab → · Contrast checker → · Palette generator →

#334B93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva