#3337AF#3337AF

#3337AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.186 H 273.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3337AF
RGBrgb(51, 55, 175)
HSLhsl(238, 55%, 44%)
HSVhsv(238, 71%, 69%)
CMYKcmyk(70.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(30.71, 38.31, -64.19)
CIE-LCHlch(30.71, 74.75, 300.83°)
OKLaboklab(41.86% 0.0114 -0.1855)
OKLCHoklch(41.86% 0.186 273.5)
XYZxyz(10.4667, 6.5303, 41.2580)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337AF #AFAB33
analogous
#3375AF #3337AF #6D33AF
triadic
#3337AF #AF3337 #37AF33
tetradic
#3337AF #AF3375 #AFAB33 #33AF6D
square
#3337AF #AF3375 #AFAB33 #33AF6D
split-complementary
#3337AF #AF6D33 #75AF33
monochromatic
#171950 #252880 #3337AF #5256CD #8285DB

Accessibility & contrast

On white

9.11
#3337AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3337AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337AF
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337AF#FFFFFF#000000##FFFFFF
##3337AF1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3337af;
/* rgb */ color: rgb(51, 55, 175);
/* oklch */ color: oklch(41.9% 0.186 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c6ec8',
    500: '#3337af',
    950: '#000000',
  },
}
SCSS
$custom: #3337af;
$custom-light: #7c6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#3337af",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 238.065,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.18587,
    "h": 273.5
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#3337AF
secondary
#C4C17A
accent
#D94ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3337AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva