#232180#232180

#232180 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.153 H 274.6°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#232180
RGBrgb(35, 33, 128)
HSLhsl(241, 59%, 32%)
HSVhsv(241, 74%, 50%)
CMYKcmyk(72.7%, 74.2%, 0%, 49.8%)
CIE-LABlab(20.06, 33.57, -52.88)
CIE-LCHlch(20.06, 62.64, 302.40°)
OKLaboklab(32.51% 0.0124 -0.1529)
OKLCHoklch(32.51% 0.153 274.6)
XYZxyz(5.1320, 3.0031, 20.7271)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232180 #7E8021
analogous
#214F80 #232180 #532180
triadic
#232180 #802321 #218023
tetradic
#232180 #80214F #7E8021 #218053
square
#232180 #80214F #7E8021 #218053
split-complementary
#232180 #805321 #4F8021
monochromatic
#08081F #16144F #232180 #302EB1 #4E4BD1

Accessibility & contrast

On white

13.12
#232180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#232180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232180
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232180#FFFFFF#000000##FFFFFF
##2321801.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232180;
/* rgb */ color: rgb(35, 33, 128);
/* oklch */ color: oklch(32.5% 0.153 274.6);
Tailwind
colors: {
  custom: {
    50: '#6d5da6',
    500: '#232180',
    950: '#000000',
  },
}
SCSS
$custom: #232180;
$custom-light: #6d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#232180",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 241.263,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32506,
    "c": 0.1534,
    "h": 274.6
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#232180
secondary
#B0B34A
accent
#E246DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #232180

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

Preview Lab → · Contrast checker → · Palette generator →

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