#232146#232146

#232146 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.067 H 283.4°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#232146
RGBrgb(35, 33, 70)
HSLhsl(243, 36%, 20%)
HSVhsv(243, 53%, 27%)
CMYKcmyk(50%, 52.9%, 0%, 72.5%)
CIE-LABlab(14.88, 12.38, -23.00)
CIE-LCHlch(14.88, 26.13, 298.29°)
OKLaboklab(27.11% 0.0156 -0.0652)
OKLCHoklch(27.11% 0.067 283.4)
XYZxyz(2.3422, 1.8871, 6.0340)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232146 #444621
analogous
#213146 #232146 #352146
triadic
#232146 #462321 #214623
tetradic
#232146 #462131 #444621 #214635
square
#232146 #462131 #444621 #214635
split-complementary
#232146 #463521 #314621
monochromatic
#0A0A15 #0E0D1C #232146 #383570 #4D4899

Accessibility & contrast

On white

15.25
#232146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#232146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232146
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232146#FFFFFF#000000##FFFFFF
##2321461.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122747
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#182930
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #232146;
/* rgb */ color: rgb(35, 33, 70);
/* oklch */ color: oklch(27.1% 0.067 283.4);
Tailwind
colors: {
  custom: {
    50: '#605c7a',
    500: '#232146',
    950: '#000000',
  },
}
SCSS
$custom: #232146;
$custom-light: #605c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#232146",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 243.243,
    "s": 35.922,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27113,
    "c": 0.06706,
    "h": 283.4
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#232146
secondary
#777A49
accent
#CC5CC6
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #232146

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

Preview Lab → · Contrast checker → · Palette generator →

#232146 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva