#3230AB#3230AB

#3230AB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.189 H 274.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3230AB
RGBrgb(50, 48, 171)
HSLhsl(241, 56%, 43%)
HSVhsv(241, 72%, 67%)
CMYKcmyk(70.8%, 71.9%, 0%, 32.9%)
CIE-LABlab(28.72, 41.05, -65.06)
CIE-LCHlch(28.72, 76.93, 302.25°)
OKLaboklab(40.29% 0.0151 -0.1881)
OKLCHoklch(40.29% 0.189 274.6)
XYZxyz(9.7206, 5.7314, 39.1142)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3230AB #A9AB30
analogous
#306BAB #3230AB #7030AB
triadic
#3230AB #AB3230 #30AB32
tetradic
#3230AB #AB306B #A9AB30 #30AB70
square
#3230AB #AB306B #A9AB30 #30AB70
split-complementary
#3230AB #AB7030 #6BAB30
monochromatic
#16154B #24237B #3230AB #4E4CCD #7D7BDA

Accessibility & contrast

On white

9.78
#3230AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3230AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3230AB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3230AB#FFFFFF#000000##FFFFFF
##3230AB1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3230ab;
/* rgb */ color: rgb(50, 48, 171);
/* oklch */ color: oklch(40.3% 0.189 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ac5',
    500: '#3230ab',
    950: '#000000',
  },
}
SCSS
$custom: #3230ab;
$custom-light: #7c6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3230ab",
  "rgb": {
    "r": 50,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 240.976,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40291,
    "c": 0.1887,
    "h": 274.6
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#3230AB
secondary
#C1C374
accent
#DF48DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3230AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3230AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva