#231C74#231C74

#231C74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.143 H 277.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#231C74
RGBrgb(35, 28, 116)
HSLhsl(245, 61%, 28%)
HSVhsv(245, 76%, 45%)
CMYKcmyk(69.8%, 75.9%, 0%, 54.5%)
CIE-LABlab(17.68, 32.42, -49.13)
CIE-LCHlch(17.68, 58.86, 303.42°)
OKLaboklab(30.43% 0.0179 -0.1419)
OKLCHoklch(30.43% 0.143 277.2)
XYZxyz(4.2598, 2.4484, 16.7677)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C74 #6D741C
analogous
#1C4174 #231C74 #4F1C74
triadic
#231C74 #74231C #1C7423
tetradic
#231C74 #741C41 #6D741C #1C744F
square
#231C74 #741C41 #6D741C #1C744F
split-complementary
#231C74 #744F1C #41741C
monochromatic
#070619 #141043 #231C74 #3228A5 #473BD0

Accessibility & contrast

On white

14.10
#231C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C74
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C74#FFFFFF#000000##FFFFFF
##231C741.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231c74;
/* rgb */ color: rgb(35, 28, 116);
/* oklch */ color: oklch(30.4% 0.143 277.2);
Tailwind
colors: {
  custom: {
    50: '#6b599d',
    500: '#231c74',
    950: '#000000',
  },
}
SCSS
$custom: #231c74;
$custom-light: #6b599d;
$custom-dark: #000000;
JSON
{
  "hex": "#231c74",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 244.773,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30432,
    "c": 0.14303,
    "h": 277.2
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#231C74
secondary
#A0A843
accent
#E444D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231C74

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

Preview Lab → · Contrast checker → · Palette generator →

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