#232155#232155

#232155 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.092 H 280.5°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#232155
RGBrgb(35, 33, 85)
HSLhsl(242, 44%, 23%)
HSVhsv(242, 61%, 33%)
CMYKcmyk(58.8%, 61.2%, 0%, 66.7%)
CIE-LABlab(16.01, 17.85, -31.44)
CIE-LCHlch(16.01, 36.15, 299.59°)
OKLaboklab(28.31% 0.0167 -0.09)
OKLCHoklch(28.31% 0.092 280.5)
XYZxyz(2.8762, 2.1007, 8.8465)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232155 #535521
analogous
#213955 #232155 #3D2155
triadic
#232155 #552321 #215523
tetradic
#232155 #552139 #535521 #21553D
square
#232155 #552139 #535521 #21553D
split-complementary
#232155 #553D21 #395521
monochromatic
#090916 #111029 #232155 #353281 #4743AD

Accessibility & contrast

On white

14.79
#232155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#232155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232155
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232155#FFFFFF#000000##FFFFFF
##2321551.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232155;
/* rgb */ color: rgb(35, 33, 85);
/* oklch */ color: oklch(28.3% 0.092 280.5);
Tailwind
colors: {
  custom: {
    50: '#635c85',
    500: '#232155',
    950: '#000000',
  },
}
SCSS
$custom: #232155;
$custom-light: #635c85;
$custom-dark: #000000;
JSON
{
  "hex": "#232155",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 242.308,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28314,
    "c": 0.09156,
    "h": 280.5
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#232155
secondary
#878949
accent
#D454CF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #232155

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

Preview Lab → · Contrast checker → · Palette generator →

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