#231BAA#231BAA

#231BAA is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.6% C 0.210 H 271.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#231BAA
RGBrgb(35, 27, 170)
HSLhsl(243, 73%, 39%)
HSVhsv(243, 84%, 67%)
CMYKcmyk(79.4%, 84.1%, 0%, 33.3%)
CIE-LABlab(23.81, 50.57, -72.62)
CIE-LCHlch(23.81, 88.49, 304.85°)
OKLaboklab(36.56% 0.0053 -0.2101)
OKLCHoklch(36.56% 0.21 271.4)
XYZxyz(8.3383, 4.0425, 38.3632)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231BAA #A2AA1B
analogous
#1B5AAA #231BAA #6A1BAA
triadic
#231BAA #AA231B #1BAA23
tetradic
#231BAA #AA1B5A #A2AA1B #1BAA6A
square
#231BAA #AA1B5A #A2AA1B #1BAA6A
split-complementary
#231BAA #AA6A1B #5AAA1B
monochromatic
#0D0A40 #181375 #231BAA #3026DC #625BE5

Accessibility & contrast

On white

11.61
#231BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#231BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231BAA
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231BAA#FFFFFF#000000##FFFFFF
##231BAA1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAE
Deuteranopia (green-blind)
#0031A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #231baa;
/* rgb */ color: rgb(35, 27, 170);
/* oklch */ color: oklch(36.6% 0.210 271.4);
Tailwind
colors: {
  custom: {
    50: '#785dc5',
    500: '#231baa',
    950: '#000000',
  },
}
SCSS
$custom: #231baa;
$custom-light: #785dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#231baa",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 243.357,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36557,
    "c": 0.21018,
    "h": 271.4
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#231BAA
secondary
#C2C958
accent
#EF39E5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #231BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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