#231B7A#231B7A

#231B7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.152 H 276.5°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#231B7A
RGBrgb(35, 27, 122)
HSLhsl(245, 64%, 29%)
HSVhsv(245, 78%, 48%)
CMYKcmyk(71.3%, 77.9%, 0%, 52.2%)
CIE-LABlab(18.12, 35.08, -52.25)
CIE-LCHlch(18.12, 62.93, 303.88°)
OKLaboklab(30.94% 0.0172 -0.151)
OKLCHoklch(30.94% 0.152 276.5)
XYZxyz(4.5968, 2.5459, 18.6577)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B7A #727A1B
analogous
#1B437A #231B7A #531B7A
triadic
#231B7A #7A231B #1B7A23
tetradic
#231B7A #7A1B43 #727A1B #1B7A53
square
#231B7A #7A1B43 #727A1B #1B7A53
split-complementary
#231B7A #7A531B #437A1B
monochromatic
#070619 #151048 #231B7A #3126AC #483CD4

Accessibility & contrast

On white

13.91
#231B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B7A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B7A#FFFFFF#000000##FFFFFF
##231B7A1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231b7a;
/* rgb */ color: rgb(35, 27, 122);
/* oklch */ color: oklch(30.9% 0.152 276.5);
Tailwind
colors: {
  custom: {
    50: '#6c59a1',
    500: '#231b7a',
    950: '#000000',
  },
}
SCSS
$custom: #231b7a;
$custom-light: #6c59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#231b7a",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 245.053,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.15199,
    "h": 276.5
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#231B7A
secondary
#A5AE43
accent
#E741D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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