#231BB3#231BB3

#231BB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.220 H 270.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#231BB3
RGBrgb(35, 27, 179)
HSLhsl(243, 74%, 40%)
HSVhsv(243, 85%, 70%)
CMYKcmyk(80.4%, 84.9%, 0%, 29.8%)
CIE-LABlab(24.94, 53.28, -76.16)
CIE-LCHlch(24.94, 92.95, 304.98°)
OKLaboklab(37.65% 0.0031 -0.2203)
OKLCHoklch(37.65% 0.22 270.8)
XYZxyz(9.2190, 4.3948, 43.0015)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231BB3 #ABB31B
analogous
#1B5FB3 #231BB3 #6F1BB3
triadic
#231BB3 #B3231B #1BB323
tetradic
#231BB3 #B31B5F #ABB31B #1BB36F
square
#231BB3 #B31B5F #ABB31B #1BB36F
split-complementary
#231BB3 #B36F1B #5FB31B
monochromatic
#0E0B49 #19137E #231BB3 #352CDF #6861E7

Accessibility & contrast

On white

11.17
#231BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#231BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231BB3
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231BB3#FFFFFF#000000##FFFFFF
##231BB31.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #231bb3;
/* rgb */ color: rgb(35, 27, 179);
/* oklch */ color: oklch(37.7% 0.220 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a5dcb',
    500: '#231bb3',
    950: '#000000',
  },
}
SCSS
$custom: #231bb3;
$custom-light: #7a5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#231bb3",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 243.158,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.22037,
    "h": 270.8
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#231BB3
secondary
#C6CC5E
accent
#F037E7
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #231BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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