#231B8B#231B8B

#231B8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.173 H 274.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#231B8B
RGBrgb(35, 27, 139)
HSLhsl(244, 67%, 33%)
HSVhsv(244, 81%, 55%)
CMYKcmyk(74.8%, 80.6%, 0%, 45.5%)
CIE-LABlab(20.06, 40.77, -59.80)
CIE-LCHlch(20.06, 72.37, 304.28°)
OKLaboklab(32.87% 0.0131 -0.173)
OKLCHoklch(32.87% 0.173 274.3)
XYZxyz(5.7437, 3.0047, 24.6984)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B8B #838B1B
analogous
#1B4B8B #231B8B #5B1B8B
triadic
#231B8B #8B231B #1B8B23
tetradic
#231B8B #8B1B4B #838B1B #1B8B5B
square
#231B8B #8B1B4B #838B1B #1B8B5B
split-complementary
#231B8B #8B5B1B #4B8B1B
monochromatic
#090725 #161158 #231B8B #3025BE #5045DB

Accessibility & contrast

On white

13.12
#231B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#231B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B8B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B8B#FFFFFF#000000##FFFFFF
##231B8B1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231b8b;
/* rgb */ color: rgb(35, 27, 139);
/* oklch */ color: oklch(32.9% 0.173 274.3);
Tailwind
colors: {
  custom: {
    50: '#705aae',
    500: '#231b8b',
    950: '#000000',
  },
}
SCSS
$custom: #231b8b;
$custom-light: #705aae;
$custom-dark: #000000;
JSON
{
  "hex": "#231b8b",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 244.286,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.17345,
    "h": 274.3
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#231B8B
secondary
#B4BC45
accent
#EA3DDE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #231B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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