#231180#231180

#231180 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.168 H 276.9°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#231180
RGBrgb(35, 17, 128)
HSLhsl(250, 77%, 28%)
HSVhsv(250, 87%, 50%)
CMYKcmyk(72.7%, 86.7%, 0%, 49.8%)
CIE-LABlab(17.07, 42.14, -57.83)
CIE-LCHlch(17.07, 71.55, 306.08°)
OKLaboklab(30.41% 0.0202 -0.1671)
OKLCHoklch(30.41% 0.168 276.9)
XYZxyz(4.7886, 2.3163, 20.6126)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231180 #6E8011
analogous
#113680 #231180 #5A1180
triadic
#231180 #802311 #118023
tetradic
#231180 #801136 #6E8011 #11805A
square
#231180 #801136 #6E8011 #11805A
split-complementary
#231180 #805A11 #368011
monochromatic
#07041B #140A4A #231180 #3218B6 #4729E3

Accessibility & contrast

On white

14.35
#231180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231180
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231180#FFFFFF#000000##FFFFFF
##2311801.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231180;
/* rgb */ color: rgb(35, 17, 128);
/* oklch */ color: oklch(30.4% 0.168 276.9);
Tailwind
colors: {
  custom: {
    50: '#6e54a6',
    500: '#231180',
    950: '#000000',
  },
}
SCSS
$custom: #231180;
$custom-light: #6e54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231180",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 249.73,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30411,
    "c": 0.16829,
    "h": 276.9
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#231180
secondary
#A1B637
accent
#F335D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231180

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

Preview Lab → · Contrast checker → · Palette generator →

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