#3338BF#3338BF

#3338BF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.6% C 0.205 H 272.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3338BF
RGBrgb(51, 56, 191)
HSLhsl(238, 58%, 47%)
HSVhsv(238, 73%, 75%)
CMYKcmyk(73.3%, 70.7%, 0%, 25.1%)
CIE-LABlab(32.46, 43.19, -70.79)
CIE-LCHlch(32.46, 82.92, 301.39°)
OKLaboklab(43.58% 0.0087 -0.2048)
OKLCHoklch(43.58% 0.205 272.4)
XYZxyz(12.1802, 7.2925, 50.0458)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3338BF #BFBA33
analogous
#337EBF #3338BF #7433BF
triadic
#3338BF #BF3338 #38BF33
tetradic
#3338BF #BF337E #BFBA33 #33BF74
square
#3338BF #BF337E #BFBA33 #33BF74
split-complementary
#3338BF #BF7433 #7EBF33
monochromatic
#191C5E #262A8F #3338BF #5C60D3 #8C8FE0

Accessibility & contrast

On white

8.54
#3338BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3338BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3338BF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3338BF#FFFFFF#000000##FFFFFF
##3338BF1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0046BD
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3338bf;
/* rgb */ color: rgb(51, 56, 191);
/* oklch */ color: oklch(43.6% 0.205 272.4);
Tailwind
colors: {
  custom: {
    50: '#8070d4',
    500: '#3338bf',
    950: '#000000',
  },
}
SCSS
$custom: #3338bf;
$custom-light: #8070d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3338bf",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 237.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4358,
    "c": 0.20499,
    "h": 272.4
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#3338BF
secondary
#CBC883
accent
#DC47E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3338BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3338BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva