#231C7E#231C7E

#231C7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.156 H 275.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#231C7E
RGBrgb(35, 28, 126)
HSLhsl(244, 64%, 30%)
HSVhsv(244, 78%, 49%)
CMYKcmyk(72.2%, 77.8%, 0%, 50.6%)
CIE-LABlab(18.77, 35.86, -53.73)
CIE-LCHlch(18.77, 64.60, 303.72°)
OKLaboklab(31.53% 0.0157 -0.1553)
OKLCHoklch(31.53% 0.156 275.8)
XYZxyz(4.8730, 2.6937, 19.9978)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C7E #777E1C
analogous
#1C467E #231C7E #541C7E
triadic
#231C7E #7E231C #1C7E23
tetradic
#231C7E #7E1C46 #777E1C #1C7E54
square
#231C7E #7E1C46 #777E1C #1C7E54
split-complementary
#231C7E #7E541C #467E1C
monochromatic
#07061A #15114C #231C7E #3127B0 #4A40D5

Accessibility & contrast

On white

13.65
#231C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#231C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C7E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C7E#FFFFFF#000000##FFFFFF
##231C7E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231c7e;
/* rgb */ color: rgb(35, 28, 126);
/* oklch */ color: oklch(31.5% 0.156 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d5aa4',
    500: '#231c7e',
    950: '#000000',
  },
}
SCSS
$custom: #231c7e;
$custom-light: #6d5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#231c7e",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 244.286,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.15612,
    "h": 275.8
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#231C7E
secondary
#AAB244
accent
#E741DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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