#232247#232247

#232247 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.067 H 282.3°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#232247
RGBrgb(35, 34, 71)
HSLhsl(242, 35%, 21%)
HSVhsv(242, 52%, 28%)
CMYKcmyk(50.7%, 52.1%, 0%, 72.2%)
CIE-LABlab(15.26, 12.01, -23.10)
CIE-LCHlch(15.26, 26.04, 297.47°)
OKLaboklab(27.42% 0.0142 -0.0655)
OKLCHoklch(27.42% 0.067 282.3)
XYZxyz(2.4022, 1.9562, 6.2110)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232247 #464722
analogous
#223347 #232247 #352247
triadic
#232247 #472322 #224723
tetradic
#232247 #472233 #464722 #224735
square
#232247 #472233 #464722 #224735
split-complementary
#232247 #473522 #334722
monochromatic
#0A0A15 #0F0E1E #232247 #373670 #4C4A9A

Accessibility & contrast

On white

15.09
#232247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232247
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232247#FFFFFF#000000##FFFFFF
##2322471.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132848
Deuteranopia (green-blind)
#112546
Tritanopia (blue-blind)
#172A31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #232247;
/* rgb */ color: rgb(35, 34, 71);
/* oklch */ color: oklch(27.4% 0.067 282.3);
Tailwind
colors: {
  custom: {
    50: '#605d7a',
    500: '#232247',
    950: '#000000',
  },
}
SCSS
$custom: #232247;
$custom-light: #605d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#232247",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 241.622,
    "s": 35.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27416,
    "c": 0.06704,
    "h": 282.3
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#232247
secondary
#797B4A
accent
#CB5DC8
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #232247

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

Preview Lab → · Contrast checker → · Palette generator →

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