#3338C0#3338C0

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

Color values

HEX#3338C0
RGBrgb(51, 56, 192)
HSLhsl(238, 58%, 48%)
HSVhsv(238, 73%, 75%)
CMYKcmyk(73.4%, 70.8%, 0%, 24.7%)
CIE-LABlab(32.56, 43.52, -71.22)
CIE-LCHlch(32.56, 83.46, 301.43°)
OKLaboklab(43.68% 0.0086 -0.206)
OKLCHoklch(43.68% 0.206 272.4)
XYZxyz(12.2906, 7.3367, 50.6273)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3338C0 #C0BB33
analogous
#337FC0 #3338C0 #7433C0
triadic
#3338C0 #C03338 #38C033
tetradic
#3338C0 #C0337F #C0BB33 #33C074
square
#3338C0 #C0337F #C0BB33 #33C074
split-complementary
#3338C0 #C07433 #7FC033
monochromatic
#191C5F #262A90 #3338C0 #5C61D4 #8D90E1

Accessibility & contrast

On white

8.51
#3338C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3338C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3338C0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3338C0#FFFFFF#000000##FFFFFF
##3338C01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3338c0;
/* rgb */ color: rgb(51, 56, 192);
/* oklch */ color: oklch(43.7% 0.206 272.4);
Tailwind
colors: {
  custom: {
    50: '#8070d4',
    500: '#3338c0',
    950: '#000000',
  },
}
SCSS
$custom: #3338c0;
$custom-light: #8070d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3338c0",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 237.872,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.20622,
    "h": 272.4
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3338C0

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

Preview Lab → · Contrast checker → · Palette generator →

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