#3338BE#3338BE

#3338BE is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.204 H 272.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3338BE
RGBrgb(51, 56, 190)
HSLhsl(238, 58%, 47%)
HSVhsv(238, 73%, 75%)
CMYKcmyk(73.2%, 70.5%, 0%, 25.5%)
CIE-LABlab(32.37, 42.85, -70.36)
CIE-LCHlch(32.37, 82.38, 301.34°)
OKLaboklab(43.48% 0.0089 -0.2035)
OKLCHoklch(43.48% 0.204 272.5)
XYZxyz(12.0706, 7.2486, 49.4682)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3338BE #BEB933
analogous
#337DBE #3338BE #7433BE
triadic
#3338BE #BE3338 #38BE33
tetradic
#3338BE #BE337D #BEB933 #33BE74
square
#3338BE #BE337D #BEB933 #33BE74
split-complementary
#3338BE #BE7433 #7DBE33
monochromatic
#191C5E #262A8E #3338BE #5B5FD3 #8B8EE0

Accessibility & contrast

On white

8.57
#3338BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3338BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3338BE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3338BE#FFFFFF#000000##FFFFFF
##3338BE1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3338be;
/* rgb */ color: rgb(51, 56, 190);
/* oklch */ color: oklch(43.5% 0.204 272.5);
Tailwind
colors: {
  custom: {
    50: '#806fd3',
    500: '#3338be',
    950: '#000000',
  },
}
SCSS
$custom: #3338be;
$custom-light: #806fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3338be",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 237.842,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.20374,
    "h": 272.5
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#3338BE
secondary
#CAC883
accent
#DB47E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3338BE

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

Preview Lab → · Contrast checker → · Palette generator →

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