#231C50#231C50

#231C50 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.092 H 284.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#231C50
RGBrgb(35, 28, 80)
HSLhsl(248, 48%, 21%)
HSVhsv(248, 65%, 31%)
CMYKcmyk(56.3%, 65%, 0%, 68.6%)
CIE-LABlab(14.21, 19.57, -30.95)
CIE-LCHlch(14.21, 36.62, 302.30°)
OKLaboklab(26.86% 0.023 -0.0886)
OKLCHoklch(26.86% 0.092 284.5)
XYZxyz(2.5559, 1.7669, 7.7942)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C50 #49501C
analogous
#1C2F50 #231C50 #3D1C50
triadic
#231C50 #50231C #1C5023
tetradic
#231C50 #501C2F #49501C #1C503D
square
#231C50 #501C2F #49501C #1C503D
split-complementary
#231C50 #503D1C #2F501C
monochromatic
#0A0817 #0F0C23 #231C50 #372C7D #4B3CAB

Accessibility & contrast

On white

15.52
#231C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#231C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C50
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C50#FFFFFF#000000##FFFFFF
##231C501.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#122832
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231c50;
/* rgb */ color: rgb(35, 28, 80);
/* oklch */ color: oklch(26.9% 0.092 284.5);
Tailwind
colors: {
  custom: {
    50: '#635881',
    500: '#231c50',
    950: '#000000',
  },
}
SCSS
$custom: #231c50;
$custom-light: #635881;
$custom-dark: #000000;
JSON
{
  "hex": "#231c50",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 248.077,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26857,
    "c": 0.09155,
    "h": 284.5
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#231C50
secondary
#7D8642
accent
#D850C5
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231C50

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

Preview Lab → · Contrast checker → · Palette generator →

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