#231BB4#231BB4

#231BB4 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.221 H 270.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#231BB4
RGBrgb(35, 27, 180)
HSLhsl(243, 74%, 41%)
HSVhsv(243, 85%, 71%)
CMYKcmyk(80.6%, 85%, 0%, 29.4%)
CIE-LABlab(25.06, 53.58, -76.55)
CIE-LCHlch(25.06, 93.44, 304.99°)
OKLaboklab(37.77% 0.0029 -0.2215)
OKLCHoklch(37.77% 0.221 270.7)
XYZxyz(9.3205, 4.4354, 43.5361)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231BB4 #ACB41B
analogous
#1B60B4 #231BB4 #6F1BB4
triadic
#231BB4 #B4231B #1BB423
tetradic
#231BB4 #B41B60 #ACB41B #1BB46F
square
#231BB4 #B41B60 #ACB41B #1BB46F
split-complementary
#231BB4 #B46F1B #60B41B
monochromatic
#0E0B4A #19137F #231BB4 #362DDF #6962E7

Accessibility & contrast

On white

11.13
#231BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#231BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231BB4
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231BB4#FFFFFF#000000##FFFFFF
##231BB41.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0033B2
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #231bb4;
/* rgb */ color: rgb(35, 27, 180);
/* oklch */ color: oklch(37.8% 0.221 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b5dcc',
    500: '#231bb4',
    950: '#000000',
  },
}
SCSS
$custom: #231bb4;
$custom-light: #7b5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#231bb4",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 243.137,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37773,
    "c": 0.22149,
    "h": 270.7
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#231BB4
secondary
#C6CC5F
accent
#F137E7
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #231BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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