#231B63#231B63

#231B63 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.121 H 280.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#231B63
RGBrgb(35, 27, 99)
HSLhsl(247, 57%, 25%)
HSVhsv(247, 73%, 39%)
CMYKcmyk(64.6%, 72.7%, 0%, 61.2%)
CIE-LABlab(15.71, 27.05, -41.28)
CIE-LCHlch(15.71, 49.36, 303.24°)
OKLaboklab(28.49% 0.022 -0.1189)
OKLCHoklch(28.49% 0.121 280.5)
XYZxyz(3.3365, 2.0418, 12.0202)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B63 #5B631B
analogous
#1B3763 #231B63 #471B63
triadic
#231B63 #63231B #1B6323
tetradic
#231B63 #631B37 #5B631B #1B6347
square
#231B63 #631B37 #5B631B #1B6347
split-complementary
#231B63 #63471B #37631B
monochromatic
#090718 #120E33 #231B63 #342893 #4535C3

Accessibility & contrast

On white

14.91
#231B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B63
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B63#FFFFFF#000000##FFFFFF
##231B631.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231b63;
/* rgb */ color: rgb(35, 27, 99);
/* oklch */ color: oklch(28.5% 0.121 280.5);
Tailwind
colors: {
  custom: {
    50: '#675890',
    500: '#231b63',
    950: '#000000',
  },
}
SCSS
$custom: #231b63;
$custom-light: #675890;
$custom-dark: #000000;
JSON
{
  "hex": "#231b63",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 246.667,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28486,
    "c": 0.12096,
    "h": 280.5
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#231B63
secondary
#8F9841
accent
#E047CF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #231B63

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

Preview Lab → · Contrast checker → · Palette generator →

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