#232178#232178

#232178 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.143 H 275.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#232178
RGBrgb(35, 33, 120)
HSLhsl(241, 57%, 30%)
HSVhsv(241, 73%, 47%)
CMYKcmyk(70.8%, 72.5%, 0%, 52.9%)
CIE-LABlab(19.23, 30.71, -49.16)
CIE-LCHlch(19.23, 57.96, 302.00°)
OKLaboklab(31.66% 0.0137 -0.142)
OKLCHoklch(31.66% 0.143 275.5)
XYZxyz(4.6260, 2.8007, 18.0625)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232178 #767821
analogous
#214B78 #232178 #4E2178
triadic
#232178 #782321 #217823
tetradic
#232178 #78214B #767821 #21784E
square
#232178 #78214B #767821 #21784E
split-complementary
#232178 #784E21 #4B7821
monochromatic
#070718 #151448 #232178 #312EA8 #4A47CC

Accessibility & contrast

On white

13.46
#232178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#232178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232178
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232178#FFFFFF#000000##FFFFFF
##2321781.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002B76
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #232178;
/* rgb */ color: rgb(35, 33, 120);
/* oklch */ color: oklch(31.7% 0.143 275.5);
Tailwind
colors: {
  custom: {
    50: '#6b5da0',
    500: '#232178',
    950: '#000000',
  },
}
SCSS
$custom: #232178;
$custom-light: #6b5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#232178",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 241.379,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.31661,
    "c": 0.14267,
    "h": 275.5
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#232178
secondary
#A9AB4A
accent
#E048DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #232178

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

Preview Lab → · Contrast checker → · Palette generator →

#232178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva