#231C7B#231C7B

#231C7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.152 H 276.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#231C7B
RGBrgb(35, 28, 123)
HSLhsl(244, 63%, 30%)
HSVhsv(244, 77%, 48%)
CMYKcmyk(71.5%, 77.2%, 0%, 51.8%)
CIE-LABlab(18.44, 34.84, -52.37)
CIE-LCHlch(18.44, 62.90, 303.63°)
OKLaboklab(31.2% 0.0164 -0.1514)
OKLCHoklch(31.2% 0.152 276.2)
XYZxyz(4.6824, 2.6175, 18.9935)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C7B #747B1C
analogous
#1C457B #231C7B #531C7B
triadic
#231C7B #7B231C #1C7B23
tetradic
#231C7B #7B1C45 #747B1C #1C7B53
square
#231C7B #7B1C45 #747B1C #1C7B53
split-complementary
#231C7B #7B531C #457B1C
monochromatic
#070619 #151149 #231C7B #3127AD #493ED3

Accessibility & contrast

On white

13.78
#231C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C7B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C7B#FFFFFF#000000##FFFFFF
##231C7B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231c7b;
/* rgb */ color: rgb(35, 28, 123);
/* oklch */ color: oklch(31.2% 0.152 276.2);
Tailwind
colors: {
  custom: {
    50: '#6c5aa2',
    500: '#231c7b',
    950: '#000000',
  },
}
SCSS
$custom: #231c7b;
$custom-light: #6c5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#231c7b",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 244.421,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31197,
    "c": 0.15225,
    "h": 276.2
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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