#232255#232255

#232255 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.090 H 279.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#232255
RGBrgb(35, 34, 85)
HSLhsl(241, 43%, 23%)
HSVhsv(241, 60%, 33%)
CMYKcmyk(58.8%, 60%, 0%, 66.7%)
CIE-LABlab(16.29, 17.13, -30.98)
CIE-LCHlch(16.29, 35.40, 298.94°)
OKLaboklab(28.53% 0.0155 -0.0887)
OKLCHoklch(28.53% 0.09 279.9)
XYZxyz(2.9043, 2.1571, 8.8559)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232255 #545522
analogous
#223A55 #232255 #3C2255
triadic
#232255 #552322 #225523
tetradic
#232255 #55223A #545522 #22553C
square
#232255 #55223A #545522 #22553C
split-complementary
#232255 #553C22 #3A5522
monochromatic
#090916 #111129 #232255 #353381 #4745AC

Accessibility & contrast

On white

14.67
#232255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232255
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232255#FFFFFF#000000##FFFFFF
##2322551.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032A57
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#0C2E37
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #232255;
/* rgb */ color: rgb(35, 34, 85);
/* oklch */ color: oklch(28.5% 0.090 279.9);
Tailwind
colors: {
  custom: {
    50: '#635d85',
    500: '#232255',
    950: '#000000',
  },
}
SCSS
$custom: #232255;
$custom-light: #635d85;
$custom-dark: #000000;
JSON
{
  "hex": "#232255",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 241.176,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28525,
    "c": 0.09,
    "h": 279.9
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#232255
secondary
#88894A
accent
#D355D0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #232255

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

Preview Lab → · Contrast checker → · Palette generator →

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