#231484#231484

#231484 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.171 H 276.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#231484
RGBrgb(35, 20, 132)
HSLhsl(248, 74%, 30%)
HSVhsv(248, 85%, 52%)
CMYKcmyk(73.5%, 84.8%, 0%, 48.2%)
CIE-LABlab(18.02, 42.02, -58.78)
CIE-LCHlch(18.02, 72.25, 305.56°)
OKLaboklab(31.21% 0.0178 -0.1699)
OKLCHoklch(31.21% 0.171 276)
XYZxyz(5.1068, 2.5231, 22.0432)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231484 #758414
analogous
#143D84 #231484 #5B1484
triadic
#231484 #842314 #148423
tetradic
#231484 #84143D #758414 #14845B
square
#231484 #84143D #758414 #14845B
split-complementary
#231484 #845B14 #3D8414
monochromatic
#07041B #150C4F #231484 #311CB9 #4A32E0

Accessibility & contrast

On white

13.96
#231484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231484
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231484#FFFFFF#000000##FFFFFF
##2314841.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231484;
/* rgb */ color: rgb(35, 20, 132);
/* oklch */ color: oklch(31.2% 0.171 276.0);
Tailwind
colors: {
  custom: {
    50: '#6f56a9',
    500: '#231484',
    950: '#000000',
  },
}
SCSS
$custom: #231484;
$custom-light: #6f56a9;
$custom-dark: #000000;
JSON
{
  "hex": "#231484",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 132
  },
  "hsl": {
    "h": 248.036,
    "s": 73.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31212,
    "c": 0.17081,
    "h": 276
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#231484
secondary
#A8B93B
accent
#F037D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231484

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

Preview Lab → · Contrast checker → · Palette generator →

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