#231C7D#231C7D

#231C7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.155 H 275.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#231C7D
RGBrgb(35, 28, 125)
HSLhsl(244, 63%, 30%)
HSVhsv(244, 78%, 49%)
CMYKcmyk(72%, 77.6%, 0%, 51%)
CIE-LABlab(18.66, 35.52, -53.28)
CIE-LCHlch(18.66, 64.03, 303.69°)
OKLaboklab(31.42% 0.016 -0.154)
OKLCHoklch(31.42% 0.155 275.9)
XYZxyz(4.8088, 2.6681, 19.6596)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C7D #767D1C
analogous
#1C457D #231C7D #541C7D
triadic
#231C7D #7D231C #1C7D23
tetradic
#231C7D #7D1C45 #767D1C #1C7D54
square
#231C7D #7D1C45 #767D1C #1C7D54
split-complementary
#231C7D #7D541C #457D1C
monochromatic
#070619 #15114B #231C7D #3127AF #4A3FD4

Accessibility & contrast

On white

13.69
#231C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#231C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C7D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C7D#FFFFFF#000000##FFFFFF
##231C7D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231c7d;
/* rgb */ color: rgb(35, 28, 125);
/* oklch */ color: oklch(31.4% 0.155 275.9);
Tailwind
colors: {
  custom: {
    50: '#6d5aa4',
    500: '#231c7d',
    950: '#000000',
  },
}
SCSS
$custom: #231c7d;
$custom-light: #6d5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#231c7d",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 244.33,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31419,
    "c": 0.15483,
    "h": 275.9
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#231C7D
secondary
#A9B144
accent
#E641DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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