#231A63#231A63

#231A63 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.122 H 280.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#231A63
RGBrgb(35, 26, 99)
HSLhsl(247, 58%, 25%)
HSVhsv(247, 74%, 39%)
CMYKcmyk(64.6%, 73.7%, 0%, 61.2%)
CIE-LABlab(15.47, 27.70, -41.66)
CIE-LCHlch(15.47, 50.03, 303.62°)
OKLaboklab(28.32% 0.0229 -0.1201)
OKLCHoklch(28.32% 0.122 280.8)
XYZxyz(3.3140, 1.9967, 12.0127)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A63 #5A631A
analogous
#1A3663 #231A63 #481A63
triadic
#231A63 #63231A #1A6323
tetradic
#231A63 #631A36 #5A631A #1A6348
square
#231A63 #631A36 #5A631A #1A6348
split-complementary
#231A63 #63481A #36631A
monochromatic
#090618 #120D33 #231A63 #342793 #4533C4

Accessibility & contrast

On white

15.01
#231A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A63
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A63#FFFFFF#000000##FFFFFF
##231A631.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231a63;
/* rgb */ color: rgb(35, 26, 99);
/* oklch */ color: oklch(28.3% 0.122 280.8);
Tailwind
colors: {
  custom: {
    50: '#675790',
    500: '#231a63',
    950: '#000000',
  },
}
SCSS
$custom: #231a63;
$custom-light: #675790;
$custom-dark: #000000;
JSON
{
  "hex": "#231a63",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 247.397,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28317,
    "c": 0.12224,
    "h": 280.8
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#231A63
secondary
#8E9940
accent
#E246CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #231A63

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

Preview Lab → · Contrast checker → · Palette generator →

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