#231374#231374

#231374 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.152 H 278.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#231374
RGBrgb(35, 19, 116)
HSLhsl(250, 72%, 26%)
HSVhsv(250, 84%, 45%)
CMYKcmyk(69.8%, 83.6%, 0%, 54.5%)
CIE-LABlab(15.92, 37.44, -52.04)
CIE-LCHlch(15.92, 64.11, 305.74°)
OKLaboklab(29.19% 0.0233 -0.1503)
OKLCHoklch(29.19% 0.152 278.8)
XYZxyz(4.0774, 2.0837, 16.7069)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231374 #647413
analogous
#133474 #231374 #541374
triadic
#231374 #742313 #137423
tetradic
#231374 #741334 #647413 #137454
square
#231374 #741334 #647413 #137454
split-complementary
#231374 #745413 #347413
monochromatic
#08041A #130A3F #231374 #331CA9 #4426DB

Accessibility & contrast

On white

14.82
#231374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231374
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231374#FFFFFF#000000##FFFFFF
##2313741.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231374;
/* rgb */ color: rgb(35, 19, 116);
/* oklch */ color: oklch(29.2% 0.152 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b549d',
    500: '#231374',
    950: '#000000',
  },
}
SCSS
$custom: #231374;
$custom-light: #6b549d;
$custom-dark: #000000;
JSON
{
  "hex": "#231374",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 249.897,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29194,
    "c": 0.15208,
    "h": 278.8
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#231374
secondary
#98AA38
accent
#EF39D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231374

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

Preview Lab → · Contrast checker → · Palette generator →

#231374 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva