#231864#231864

#231864 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.126 H 281.1°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#231864
RGBrgb(35, 24, 100)
HSLhsl(249, 61%, 24%)
HSVhsv(249, 76%, 39%)
CMYKcmyk(65%, 76%, 0%, 60.8%)
CIE-LABlab(15.12, 29.30, -42.90)
CIE-LCHlch(15.12, 51.96, 304.33°)
OKLaboklab(28.1% 0.0244 -0.1237)
OKLCHoklch(28.1% 0.126 281.1)
XYZxyz(3.3193, 1.9305, 12.2518)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231864 #596418
analogous
#183364 #231864 #491864
triadic
#231864 #642318 #186423
tetradic
#231864 #641833 #596418 #186449
square
#231864 #641833 #596418 #186449
split-complementary
#231864 #644918 #336418
monochromatic
#090619 #120C33 #231864 #342495 #4630C7

Accessibility & contrast

On white

15.15
#231864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#231864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231864
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231864#FFFFFF#000000##FFFFFF
##2318641.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231864;
/* rgb */ color: rgb(35, 24, 100);
/* oklch */ color: oklch(28.1% 0.126 281.1);
Tailwind
colors: {
  custom: {
    50: '#675691',
    500: '#231864',
    950: '#000000',
  },
}
SCSS
$custom: #231864;
$custom-light: #675691;
$custom-dark: #000000;
JSON
{
  "hex": "#231864",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 248.684,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28096,
    "c": 0.12607,
    "h": 281.1
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#231864
secondary
#8D9A3E
accent
#E443CD
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231864

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

Preview Lab → · Contrast checker → · Palette generator →

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