#231BA0#231BA0

#231BA0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.199 H 272.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#231BA0
RGBrgb(35, 27, 160)
HSLhsl(244, 71%, 37%)
HSVhsv(244, 83%, 63%)
CMYKcmyk(78.1%, 83.1%, 0%, 37.3%)
CIE-LABlab(22.58, 47.49, -68.60)
CIE-LCHlch(22.58, 83.43, 304.69°)
OKLaboklab(35.35% 0.0078 -0.1985)
OKLCHoklch(35.35% 0.199 272.2)
XYZxyz(7.4281, 3.6784, 33.5694)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231BA0 #98A01B
analogous
#1B56A0 #231BA0 #661BA0
triadic
#231BA0 #A0231B #1BA023
tetradic
#231BA0 #A01B56 #98A01B #1BA066
square
#231BA0 #A01B56 #98A01B #1BA066
split-complementary
#231BA0 #A0661B #56A01B
monochromatic
#0C0937 #18126C #231BA0 #2E24D4 #5C53E2

Accessibility & contrast

On white

12.10
#231BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#231BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231BA0
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231BA0#FFFFFF#000000##FFFFFF
##231BA01.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231ba0;
/* rgb */ color: rgb(35, 27, 160);
/* oklch */ color: oklch(35.4% 0.199 272.2);
Tailwind
colors: {
  custom: {
    50: '#765cbe',
    500: '#231ba0',
    950: '#000000',
  },
}
SCSS
$custom: #231ba0;
$custom-light: #765cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#231ba0",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 243.609,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35352,
    "c": 0.19862,
    "h": 272.2
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#231BA0
secondary
#BEC552
accent
#EE3AE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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