#33397F#33397F

#33397F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.0% C 0.117 H 275.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#33397F
RGBrgb(51, 57, 127)
HSLhsl(235, 43%, 35%)
HSVhsv(235, 60%, 50%)
CMYKcmyk(59.8%, 55.1%, 0%, 50.2%)
CIE-LABlab(27.19, 19.94, -40.57)
CIE-LCHlch(27.19, 45.21, 296.18°)
OKLaboklab(38.01% 0.0115 -0.1162)
OKLCHoklch(38.01% 0.117 275.7)
XYZxyz(6.6579, 5.1619, 20.7201)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33397F #7F7933
analogous
#335F7F #33397F #53337F
triadic
#33397F #7F3339 #397F33
tetradic
#33397F #7F335F #7F7933 #337F53
square
#33397F #7F335F #7F7933 #337F53
split-complementary
#33397F #7F5333 #5F7F33
monochromatic
#101228 #212553 #33397F #454DAB #6971C3

Accessibility & contrast

On white

10.33
#33397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#33397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33397F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33397F#FFFFFF#000000##FFFFFF
##33397F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4481
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#024956
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33397f;
/* rgb */ color: rgb(51, 57, 127);
/* oklch */ color: oklch(38.0% 0.117 275.7);
Tailwind
colors: {
  custom: {
    50: '#726fa5',
    500: '#33397f',
    950: '#000000',
  },
}
SCSS
$custom: #33397f;
$custom-light: #726fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#33397f",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 235.263,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.11675,
    "h": 275.7
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#33397F
secondary
#ABA563
accent
#C955D2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33397F

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

Preview Lab → · Contrast checker → · Palette generator →

#33397F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva