#334383#334383

#334383 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.109 H 270.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#334383
RGBrgb(51, 67, 131)
HSLhsl(228, 44%, 36%)
HSVhsv(228, 61%, 51%)
CMYKcmyk(61.1%, 48.9%, 0%, 48.6%)
CIE-LABlab(30.29, 14.61, -38.08)
CIE-LCHlch(30.29, 40.78, 290.99°)
OKLaboklab(40.45% 0.0007 -0.1087)
OKLCHoklch(40.45% 0.109 270.4)
XYZxyz(7.4678, 6.3562, 22.3017)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334383 #837333
analogous
#336B83 #334383 #4B3383
triadic
#334383 #833343 #438333
tetradic
#334383 #83336B #837333 #33834B
square
#334383 #83336B #837333 #33834B
split-complementary
#334383 #834B33 #6B8333
monochromatic
#11162B #222C57 #334383 #445AAF #6B7DC5

Accessibility & contrast

On white

9.25
#334383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#334383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334383
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334383#FFFFFF#000000##FFFFFF
##3343831.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#174482
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334383;
/* rgb */ color: rgb(51, 67, 131);
/* oklch */ color: oklch(40.4% 0.109 270.4);
Tailwind
colors: {
  custom: {
    50: '#7276a7',
    500: '#334383',
    950: '#000000',
  },
}
SCSS
$custom: #334383;
$custom-light: #7276a7;
$custom-dark: #000000;
JSON
{
  "hex": "#334383",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 131
  },
  "hsl": {
    "h": 228,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.10872,
    "h": 270.4
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#334383
secondary
#AD9F65
accent
#BA54D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #334383

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

Preview Lab → · Contrast checker → · Palette generator →

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