#231B75#231B75

#231B75 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.145 H 277.3°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#231B75
RGBrgb(35, 27, 117)
HSLhsl(245, 63%, 28%)
HSVhsv(245, 77%, 46%)
CMYKcmyk(70.1%, 76.9%, 0%, 54.1%)
CIE-LABlab(17.58, 33.36, -49.95)
CIE-LCHlch(17.58, 60.06, 303.74°)
OKLaboklab(30.39% 0.0184 -0.1443)
OKLCHoklch(30.39% 0.145 277.3)
XYZxyz(4.2949, 2.4252, 17.0679)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B75 #6D751B
analogous
#1B4075 #231B75 #501B75
triadic
#231B75 #75231B #1B7523
tetradic
#231B75 #751B40 #6D751B #1B7550
square
#231B75 #751B40 #6D751B #1B7550
split-complementary
#231B75 #75501B #40751B
monochromatic
#070619 #141043 #231B75 #3226A7 #4739D1

Accessibility & contrast

On white

14.14
#231B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B75
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B75#FFFFFF#000000##FFFFFF
##231B751.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231b75;
/* rgb */ color: rgb(35, 27, 117);
/* oklch */ color: oklch(30.4% 0.145 277.3);
Tailwind
colors: {
  custom: {
    50: '#6b599e',
    500: '#231b75',
    950: '#000000',
  },
}
SCSS
$custom: #231b75;
$custom-light: #6b599e;
$custom-dark: #000000;
JSON
{
  "hex": "#231b75",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 245.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30389,
    "c": 0.14545,
    "h": 277.3
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#231B75
secondary
#A0A942
accent
#E642D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231B75

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

Preview Lab → · Contrast checker → · Palette generator →

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