#232368#232368

#232368 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.118 H 276.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#232368
RGBrgb(35, 35, 104)
HSLhsl(240, 50%, 27%)
HSVhsv(240, 66%, 41%)
CMYKcmyk(66.3%, 66.3%, 0%, 59.2%)
CIE-LABlab(18.18, 23.51, -40.52)
CIE-LCHlch(18.18, 46.85, 300.13°)
OKLaboklab(30.43% 0.014 -0.1167)
OKLCHoklch(30.43% 0.118 276.8)
XYZxyz(3.7920, 2.5586, 13.3880)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232368 #686823
analogous
#234668 #232368 #462368
triadic
#232368 #682323 #236823
tetradic
#232368 #682346 #686823 #236846
square
#232368 #682346 #686823 #236846
split-complementary
#232368 #684623 #466823
monochromatic
#080817 #14143A #232368 #323296 #4545C0

Accessibility & contrast

On white

13.89
#232368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#232368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232368
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232368#FFFFFF#000000##FFFFFF
##2323681.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #232368;
/* rgb */ color: rgb(35, 35, 104);
/* oklch */ color: oklch(30.4% 0.118 276.8);
Tailwind
colors: {
  custom: {
    50: '#675e94',
    500: '#232368',
    950: '#000000',
  },
}
SCSS
$custom: #232368;
$custom-light: #675e94;
$custom-dark: #000000;
JSON
{
  "hex": "#232368",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.11753,
    "h": 276.8
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#232368
secondary
#9B9B4B
accent
#D94FD9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #232368

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

Preview Lab → · Contrast checker → · Palette generator →

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