#231C7A#231C7A

#231C7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.151 H 276.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#231C7A
RGBrgb(35, 28, 122)
HSLhsl(244, 63%, 29%)
HSVhsv(244, 77%, 48%)
CMYKcmyk(71.3%, 77%, 0%, 52.2%)
CIE-LABlab(18.33, 34.49, -51.91)
CIE-LCHlch(18.33, 62.32, 303.60°)
OKLaboklab(31.09% 0.0166 -0.15)
OKLCHoklch(31.09% 0.151 276.3)
XYZxyz(4.6201, 2.5926, 18.6655)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C7A #737A1C
analogous
#1C447A #231C7A #521C7A
triadic
#231C7A #7A231C #1C7A23
tetradic
#231C7A #7A1C44 #737A1C #1C7A52
square
#231C7A #7A1C44 #737A1C #1C7A52
split-complementary
#231C7A #7A521C #447A1C
monochromatic
#070619 #151148 #231C7A #3127AC #493ED3

Accessibility & contrast

On white

13.83
#231C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#231C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C7A
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C7A#FFFFFF#000000##FFFFFF
##231C7A1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231c7a;
/* rgb */ color: rgb(35, 28, 122);
/* oklch */ color: oklch(31.1% 0.151 276.3);
Tailwind
colors: {
  custom: {
    50: '#6c5aa1',
    500: '#231c7a',
    950: '#000000',
  },
}
SCSS
$custom: #231c7a;
$custom-light: #6c5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#231c7a",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 244.468,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31087,
    "c": 0.15094,
    "h": 276.3
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#231C7A
secondary
#A6AE44
accent
#E642DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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