#232256#232256

#232256 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.092 H 279.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#232256
RGBrgb(35, 34, 86)
HSLhsl(241, 43%, 24%)
HSVhsv(241, 60%, 34%)
CMYKcmyk(59.3%, 60.5%, 0%, 66.3%)
CIE-LABlab(16.37, 17.50, -31.52)
CIE-LCHlch(16.37, 36.06, 299.04°)
OKLaboklab(28.61% 0.0155 -0.0903)
OKLCHoklch(28.61% 0.092 279.8)
XYZxyz(2.9444, 2.1731, 9.0666)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232256 #555622
analogous
#223B56 #232256 #3D2256
triadic
#232256 #562322 #225623
tetradic
#232256 #56223B #555622 #22563D
square
#232256 #56223B #555622 #22563D
split-complementary
#232256 #563D22 #3B5622
monochromatic
#090916 #11112A #232256 #353382 #4745AE

Accessibility & contrast

On white

14.64
#232256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#232256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232256
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232256#FFFFFF#000000##FFFFFF
##2322561.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#0B2E38
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #232256;
/* rgb */ color: rgb(35, 34, 86);
/* oklch */ color: oklch(28.6% 0.092 279.8);
Tailwind
colors: {
  custom: {
    50: '#635d86',
    500: '#232256',
    950: '#000000',
  },
}
SCSS
$custom: #232256;
$custom-light: #635d86;
$custom-dark: #000000;
JSON
{
  "hex": "#232256",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 241.154,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2861,
    "c": 0.09159,
    "h": 279.8
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#232256
secondary
#898A4A
accent
#D355D1
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #232256

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

Preview Lab → · Contrast checker → · Palette generator →

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