#232145#232145

#232145 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.065 H 283.6°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#232145
RGBrgb(35, 33, 69)
HSLhsl(243, 35%, 20%)
HSVhsv(243, 52%, 27%)
CMYKcmyk(49.3%, 52.2%, 0%, 72.9%)
CIE-LABlab(14.81, 12.03, -22.42)
CIE-LCHlch(14.81, 25.44, 298.21°)
OKLaboklab(27.04% 0.0154 -0.0635)
OKLCHoklch(27.04% 0.065 283.6)
XYZxyz(2.3109, 1.8746, 5.8691)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232145 #434521
analogous
#213145 #232145 #352145
triadic
#232145 #452321 #214523
tetradic
#232145 #452131 #434521 #214535
square
#232145 #452131 #434521 #214535
split-complementary
#232145 #453521 #314521
monochromatic
#0A0A15 #0E0D1C #232145 #38356E #4D4998

Accessibility & contrast

On white

15.27
#232145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232145
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232145#FFFFFF#000000##FFFFFF
##2321451.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132646
Deuteranopia (green-blind)
#112444
Tritanopia (blue-blind)
#18282F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #232145;
/* rgb */ color: rgb(35, 33, 69);
/* oklch */ color: oklch(27.0% 0.065 283.6);
Tailwind
colors: {
  custom: {
    50: '#605c79',
    500: '#232145',
    950: '#000000',
  },
}
SCSS
$custom: #232145;
$custom-light: #605c79;
$custom-dark: #000000;
JSON
{
  "hex": "#232145",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 243.333,
    "s": 35.294,
    "l": 20
  },
  "oklch": {
    "l": 0.27039,
    "c": 0.06536,
    "h": 283.6
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#232145
secondary
#767949
accent
#CB5CC5
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #232145

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

Preview Lab → · Contrast checker → · Palette generator →

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