#232160#232160

#232160 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.108 H 278.7°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#232160
RGBrgb(35, 33, 96)
HSLhsl(242, 49%, 25%)
HSVhsv(242, 66%, 38%)
CMYKcmyk(63.5%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.94, 21.92, -37.28)
CIE-LCHlch(16.94, 43.25, 300.46°)
OKLaboklab(29.29% 0.0165 -0.1072)
OKLCHoklch(29.29% 0.108 278.7)
XYZxyz(3.3476, 2.2893, 11.3295)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232160 #5E6021
analogous
#213E60 #232160 #422160
triadic
#232160 #602321 #216023
tetradic
#232160 #60213E #5E6021 #216042
square
#232160 #60213E #5E6021 #216042
split-complementary
#232160 #604221 #3E6021
monochromatic
#080817 #121132 #232160 #34318E #4440BB

Accessibility & contrast

On white

14.40
#232160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232160
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232160#FFFFFF#000000##FFFFFF
##2321601.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #232160;
/* rgb */ color: rgb(35, 33, 96);
/* oklch */ color: oklch(29.3% 0.108 278.7);
Tailwind
colors: {
  custom: {
    50: '#655c8e',
    500: '#232160',
    950: '#000000',
  },
}
SCSS
$custom: #232160;
$custom-light: #655c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#232160",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 241.905,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29294,
    "c": 0.10846,
    "h": 278.7
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#232160
secondary
#929449
accent
#D84FD4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #232160

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

Preview Lab → · Contrast checker → · Palette generator →

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