#232148#232148

#232148 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.070 H 283.0°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#232148
RGBrgb(35, 33, 72)
HSLhsl(243, 37%, 21%)
HSVhsv(243, 54%, 28%)
CMYKcmyk(51.4%, 54.2%, 0%, 71.8%)
CIE-LABlab(15.02, 13.10, -24.16)
CIE-LCHlch(15.02, 27.48, 298.46°)
OKLaboklab(27.26% 0.0158 -0.0686)
OKLCHoklch(27.26% 0.07 283)
XYZxyz(2.4063, 1.9128, 6.3720)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232148 #464821
analogous
#213248 #232148 #362148
triadic
#232148 #482321 #214823
tetradic
#232148 #482132 #464821 #214836
square
#232148 #482132 #464821 #214836
split-complementary
#232148 #483621 #324821
monochromatic
#0A0A15 #0F0E1E #232148 #373472 #4C479C

Accessibility & contrast

On white

15.19
#232148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232148
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232148#FFFFFF#000000##FFFFFF
##2321481.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102749
Deuteranopia (green-blind)
#0E2447
Tritanopia (blue-blind)
#172931
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #232148;
/* rgb */ color: rgb(35, 33, 72);
/* oklch */ color: oklch(27.3% 0.070 283.0);
Tailwind
colors: {
  custom: {
    50: '#615c7b',
    500: '#232148',
    950: '#000000',
  },
}
SCSS
$custom: #232148;
$custom-light: #615c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#232148",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 243.077,
    "s": 37.143,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27263,
    "c": 0.07043,
    "h": 283
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#232148
secondary
#797C49
accent
#CD5BC7
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #232148

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

Preview Lab → · Contrast checker → · Palette generator →

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