#231C4E#231C4E

#231C4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.088 H 285.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#231C4E
RGBrgb(35, 28, 78)
HSLhsl(248, 47%, 21%)
HSVhsv(248, 64%, 31%)
CMYKcmyk(55.1%, 64.1%, 0%, 69.4%)
CIE-LABlab(14.05, 18.85, -29.85)
CIE-LCHlch(14.05, 35.31, 302.27°)
OKLaboklab(26.68% 0.023 -0.0854)
OKLCHoklch(26.68% 0.088 285.1)
XYZxyz(2.4831, 1.7378, 7.4108)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C4E #474E1C
analogous
#1C2E4E #231C4E #3C1C4E
triadic
#231C4E #4E231C #1C4E23
tetradic
#231C4E #4E1C2E #474E1C #1C4E3C
square
#231C4E #4E1C2E #474E1C #1C4E3C
split-complementary
#231C4E #4E3C1C #2E4E1C
monochromatic
#0A0817 #0F0C21 #231C4E #372C7B #4B3CA8

Accessibility & contrast

On white

15.58
#231C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C4E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C4E#FFFFFF#000000##FFFFFF
##231C4E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#132731
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231c4e;
/* rgb */ color: rgb(35, 28, 78);
/* oklch */ color: oklch(26.7% 0.088 285.1);
Tailwind
colors: {
  custom: {
    50: '#625880',
    500: '#231c4e',
    950: '#000000',
  },
}
SCSS
$custom: #231c4e;
$custom-light: #625880;
$custom-dark: #000000;
JSON
{
  "hex": "#231c4e",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 248.4,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26682,
    "c": 0.08844,
    "h": 285.1
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#231C4E
secondary
#7A8442
accent
#D751C4
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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