#232248#232248

#232248 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.069 H 282.1°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#232248
RGBrgb(35, 34, 72)
HSLhsl(242, 36%, 21%)
HSVhsv(242, 53%, 28%)
CMYKcmyk(51.4%, 52.8%, 0%, 71.8%)
CIE-LABlab(15.32, 12.37, -23.68)
CIE-LCHlch(15.32, 26.72, 297.58°)
OKLaboklab(27.49% 0.0144 -0.0672)
OKLCHoklch(27.49% 0.069 282.1)
XYZxyz(2.4345, 1.9691, 6.3814)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232248 #474822
analogous
#223448 #232248 #362248
triadic
#232248 #482322 #224823
tetradic
#232248 #482234 #474822 #224836
square
#232248 #482234 #474822 #224836
split-complementary
#232248 #483622 #344822
monochromatic
#0A0A15 #0F0E1E #232248 #373672 #4B499B

Accessibility & contrast

On white

15.07
#232248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#232248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232248
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232248#FFFFFF#000000##FFFFFF
##2322481.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122849
Deuteranopia (green-blind)
#102547
Tritanopia (blue-blind)
#162A31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #232248;
/* rgb */ color: rgb(35, 34, 72);
/* oklch */ color: oklch(27.5% 0.069 282.1);
Tailwind
colors: {
  custom: {
    50: '#615d7b',
    500: '#232248',
    950: '#000000',
  },
}
SCSS
$custom: #232248;
$custom-light: #615d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#232248",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 241.579,
    "s": 35.849,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2749,
    "c": 0.06872,
    "h": 282.1
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#232248
secondary
#7A7C4A
accent
#CC5CC9
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #232248

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

Preview Lab → · Contrast checker → · Palette generator →

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