#231B8C#231B8C

#231B8C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.175 H 274.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#231B8C
RGBrgb(35, 27, 140)
HSLhsl(244, 68%, 33%)
HSVhsv(244, 81%, 55%)
CMYKcmyk(75%, 80.7%, 0%, 45.1%)
CIE-LABlab(20.18, 41.09, -60.23)
CIE-LCHlch(20.18, 72.91, 304.31°)
OKLaboklab(32.99% 0.0128 -0.1742)
OKLCHoklch(32.99% 0.175 274.2)
XYZxyz(5.8171, 3.0341, 25.0849)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B8C #848C1B
analogous
#1B4B8C #231B8C #5C1B8C
triadic
#231B8C #8C231B #1B8C23
tetradic
#231B8C #8C1B4B #848C1B #1B8C5C
square
#231B8C #8C1B4B #848C1B #1B8C5C
split-complementary
#231B8C #8C5C1B #4B8C1B
monochromatic
#090725 #161159 #231B8C #3025BF #5146DB

Accessibility & contrast

On white

13.07
#231B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B8C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B8C#FFFFFF#000000##FFFFFF
##231B8C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231b8c;
/* rgb */ color: rgb(35, 27, 140);
/* oklch */ color: oklch(33.0% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#715aaf',
    500: '#231b8c',
    950: '#000000',
  },
}
SCSS
$custom: #231b8c;
$custom-light: #715aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#231b8c",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 244.248,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32989,
    "c": 0.17468,
    "h": 274.2
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#231B8C
secondary
#B4BD46
accent
#EB3DDE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #231B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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