#232295#232295

#232295 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.179 H 272.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#232295
RGBrgb(35, 34, 149)
HSLhsl(241, 63%, 36%)
HSVhsv(241, 77%, 58%)
CMYKcmyk(76.5%, 77.2%, 0%, 41.6%)
CIE-LABlab(22.55, 40.26, -61.89)
CIE-LCHlch(22.55, 73.83, 303.04°)
OKLaboklab(34.96% 0.0079 -0.1791)
OKLCHoklch(34.96% 0.179 272.5)
XYZxyz(6.6882, 3.6706, 28.7840)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232295 #949522
analogous
#225A95 #232295 #5C2295
triadic
#232295 #952322 #229523
tetradic
#232295 #95225A #949522 #22955C
square
#232295 #95225A #949522 #22955C
split-complementary
#232295 #955C22 #5A9522
monochromatic
#0C0B31 #171763 #232295 #2F2DC7 #5A58D9

Accessibility & contrast

On white

12.11
#232295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232295
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232295#FFFFFF#000000##FFFFFF
##2322951.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003093
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232295;
/* rgb */ color: rgb(35, 34, 149);
/* oklch */ color: oklch(35.0% 0.179 272.5);
Tailwind
colors: {
  custom: {
    50: '#725fb5',
    500: '#232295',
    950: '#000000',
  },
}
SCSS
$custom: #232295;
$custom-light: #725fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#232295",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 240.522,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.1793,
    "h": 272.5
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#232295
secondary
#BCBD56
accent
#E642E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232295

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

Preview Lab → · Contrast checker → · Palette generator →

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