#3238CB#3238CB

#3238CB is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.220 H 271.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3238CB
RGBrgb(50, 56, 203)
HSLhsl(238, 60%, 50%)
HSVhsv(238, 75%, 80%)
CMYKcmyk(75.4%, 72.4%, 0%, 20.4%)
CIE-LABlab(33.60, 47.13, -75.94)
CIE-LCHlch(33.60, 89.38, 301.82°)
OKLaboklab(44.73% 0.0059 -0.2198)
OKLCHoklch(44.73% 0.22 271.5)
XYZxyz(13.5054, 7.8168, 57.2854)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238CB #CBC532
analogous
#3285CB #3238CB #7932CB
triadic
#3238CB #CB3238 #38CB32
tetradic
#3238CB #CB3285 #CBC532 #32CB79
square
#3238CB #CB3285 #CBC532 #32CB79
split-complementary
#3238CB #CB7932 #85CB32
monochromatic
#1A1D69 #262A9A #3238CB #6267D8 #9396E4

Accessibility & contrast

On white

8.19
#3238CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3238CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238CB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238CB#FFFFFF#000000##FFFFFF
##3238CB1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CF
Deuteranopia (green-blind)
#0047C8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3238cb;
/* rgb */ color: rgb(50, 56, 203);
/* oklch */ color: oklch(44.7% 0.220 271.5);
Tailwind
colors: {
  custom: {
    50: '#8270dc',
    500: '#3238cb',
    950: '#000000',
  },
}
SCSS
$custom: #3238cb;
$custom-light: #8270dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3238cb",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 237.647,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44734,
    "c": 0.21992,
    "h": 271.5
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#3238CB
secondary
#CFCD89
accent
#DD44E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3238CB

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

Preview Lab → · Contrast checker → · Palette generator →

#3238CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva