#231C65#231C65

#231C65 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.122 H 279.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#231C65
RGBrgb(35, 28, 101)
HSLhsl(246, 57%, 25%)
HSVhsv(246, 72%, 40%)
CMYKcmyk(65.3%, 72.3%, 0%, 60.4%)
CIE-LABlab(16.14, 27.12, -41.89)
CIE-LCHlch(16.14, 49.90, 302.92°)
OKLaboklab(28.86% 0.0208 -0.1207)
OKLCHoklch(28.86% 0.123 279.8)
XYZxyz(3.4566, 2.1272, 12.5378)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C65 #5E651C
analogous
#1C3A65 #231C65 #471C65
triadic
#231C65 #65231C #1C6523
tetradic
#231C65 #651C3A #5E651C #1C6547
square
#231C65 #651C3A #5E651C #1C6547
split-complementary
#231C65 #65471C #3A651C
monochromatic
#080718 #120F35 #231C65 #342995 #4437C5

Accessibility & contrast

On white

14.73
#231C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C65
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C65#FFFFFF#000000##FFFFFF
##231C651.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231c65;
/* rgb */ color: rgb(35, 28, 101);
/* oklch */ color: oklch(28.9% 0.122 279.8);
Tailwind
colors: {
  custom: {
    50: '#675992',
    500: '#231c65',
    950: '#000000',
  },
}
SCSS
$custom: #231c65;
$custom-light: #675992;
$custom-dark: #000000;
JSON
{
  "hex": "#231c65",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 245.753,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2886,
    "c": 0.1225,
    "h": 279.8
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#231C65
secondary
#929A43
accent
#E048D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231C65

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

Preview Lab → · Contrast checker → · Palette generator →

#231C65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva