#232162#232162

#232162 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.5% C 0.111 H 278.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#232162
RGBrgb(35, 33, 98)
HSLhsl(242, 50%, 26%)
HSVhsv(242, 66%, 38%)
CMYKcmyk(64.3%, 66.3%, 0%, 61.6%)
CIE-LABlab(17.12, 22.67, -38.31)
CIE-LCHlch(17.12, 44.52, 300.61°)
OKLaboklab(29.48% 0.0164 -0.1102)
OKLCHoklch(29.48% 0.111 278.4)
XYZxyz(3.4409, 2.3266, 11.8207)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232162 #606221
analogous
#213F62 #232162 #432162
triadic
#232162 #622321 #216223
tetradic
#232162 #62213F #606221 #216243
square
#232162 #62213F #606221 #216243
split-complementary
#232162 #624321 #3F6221
monochromatic
#080817 #131234 #232162 #333090 #4440BE

Accessibility & contrast

On white

14.33
#232162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#232162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232162
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232162#FFFFFF#000000##FFFFFF
##2321621.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #232162;
/* rgb */ color: rgb(35, 33, 98);
/* oklch */ color: oklch(29.5% 0.111 278.4);
Tailwind
colors: {
  custom: {
    50: '#665c8f',
    500: '#232162',
    950: '#000000',
  },
}
SCSS
$custom: #232162;
$custom-light: #665c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#232162",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 241.846,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2948,
    "c": 0.11144,
    "h": 278.4
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#232162
secondary
#949649
accent
#D94FD5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #232162

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

Preview Lab → · Contrast checker → · Palette generator →

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