#232168#232168

#232168 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.120 H 277.6°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#232168
RGBrgb(35, 33, 104)
HSLhsl(242, 52%, 27%)
HSVhsv(242, 68%, 41%)
CMYKcmyk(66.3%, 68.3%, 0%, 59.2%)
CIE-LABlab(17.66, 24.88, -41.36)
CIE-LCHlch(17.66, 48.27, 301.03°)
OKLaboklab(30.05% 0.0159 -0.1192)
OKLCHoklch(30.05% 0.12 277.6)
XYZxyz(3.7349, 2.4442, 13.3690)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232168 #666821
analogous
#214368 #232168 #472168
triadic
#232168 #682321 #216823
tetradic
#232168 #682143 #666821 #216847
square
#232168 #682143 #666821 #216847
split-complementary
#232168 #684721 #436821
monochromatic
#080717 #13123A #232168 #333096 #4441C3

Accessibility & contrast

On white

14.10
#232168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#232168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232168
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232168#FFFFFF#000000##FFFFFF
##2321681.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #232168;
/* rgb */ color: rgb(35, 33, 104);
/* oklch */ color: oklch(30.1% 0.120 277.6);
Tailwind
colors: {
  custom: {
    50: '#675c94',
    500: '#232168',
    950: '#000000',
  },
}
SCSS
$custom: #232168;
$custom-light: #675c94;
$custom-dark: #000000;
JSON
{
  "hex": "#232168",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 241.69,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30052,
    "c": 0.12024,
    "h": 277.6
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#232168
secondary
#9A9C49
accent
#DB4DD7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #232168

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

Preview Lab → · Contrast checker → · Palette generator →

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