#232179#232179

#232179 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.144 H 275.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#232179
RGBrgb(35, 33, 121)
HSLhsl(241, 57%, 30%)
HSVhsv(241, 73%, 47%)
CMYKcmyk(71.1%, 72.7%, 0%, 52.5%)
CIE-LABlab(19.33, 31.07, -49.63)
CIE-LCHlch(19.33, 58.55, 302.05°)
OKLaboklab(31.77% 0.0136 -0.1434)
OKLCHoklch(31.77% 0.144 275.4)
XYZxyz(4.6870, 2.8251, 18.3837)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232179 #777921
analogous
#214B79 #232179 #4F2179
triadic
#232179 #792321 #217923
tetradic
#232179 #79214B #777921 #21794F
square
#232179 #79214B #777921 #21794F
split-complementary
#232179 #794F21 #4B7921
monochromatic
#070719 #151449 #232179 #312EA9 #4A47CD

Accessibility & contrast

On white

13.42
#232179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#232179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232179
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232179#FFFFFF#000000##FFFFFF
##2321791.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232179;
/* rgb */ color: rgb(35, 33, 121);
/* oklch */ color: oklch(31.8% 0.144 275.4);
Tailwind
colors: {
  custom: {
    50: '#6b5da1',
    500: '#232179',
    950: '#000000',
  },
}
SCSS
$custom: #232179;
$custom-light: #6b5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#232179",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 241.364,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31766,
    "c": 0.14403,
    "h": 275.4
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#232179
secondary
#AAAC4A
accent
#E047DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #232179

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

Preview Lab → · Contrast checker → · Palette generator →

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