#231C63#231C63

#231C63 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.7% C 0.120 H 280.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#231C63
RGBrgb(35, 28, 99)
HSLhsl(246, 56%, 25%)
HSVhsv(246, 72%, 39%)
CMYKcmyk(64.6%, 71.7%, 0%, 61.2%)
CIE-LABlab(15.94, 26.40, -40.89)
CIE-LCHlch(15.94, 48.67, 302.85°)
OKLaboklab(28.66% 0.0211 -0.1178)
OKLCHoklch(28.66% 0.12 280.1)
XYZxyz(3.3598, 2.0884, 12.0280)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C63 #5C631C
analogous
#1C3963 #231C63 #461C63
triadic
#231C63 #63231C #1C6323
tetradic
#231C63 #631C39 #5C631C #1C6346
square
#231C63 #631C39 #5C631C #1C6346
split-complementary
#231C63 #63461C #39631C
monochromatic
#080718 #120F33 #231C63 #342993 #4537C2

Accessibility & contrast

On white

14.81
#231C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C63
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C63#FFFFFF#000000##FFFFFF
##231C631.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231c63;
/* rgb */ color: rgb(35, 28, 99);
/* oklch */ color: oklch(28.7% 0.120 280.1);
Tailwind
colors: {
  custom: {
    50: '#675990',
    500: '#231c63',
    950: '#000000',
  },
}
SCSS
$custom: #231c63;
$custom-light: #675990;
$custom-dark: #000000;
JSON
{
  "hex": "#231c63",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 245.915,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28658,
    "c": 0.11967,
    "h": 280.1
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#231C63
secondary
#909843
accent
#DF49D0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #231C63

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

Preview Lab → · Contrast checker → · Palette generator →

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