#233161#233161

#233161 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.087 H 269.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#233161
RGBrgb(35, 49, 97)
HSLhsl(226, 47%, 26%)
HSVhsv(226, 64%, 38%)
CMYKcmyk(63.9%, 49.5%, 0%, 62%)
CIE-LABlab(21.64, 10.92, -30.34)
CIE-LCHlch(21.64, 32.25, 289.80°)
OKLaboklab(32.85% -0.0015 -0.0866)
OKLCHoklch(32.85% 0.087 269)
XYZxyz(3.9484, 3.4167, 11.7584)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233161 #615323
analogous
#235061 #233161 #342361
triadic
#233161 #612331 #316123
tetradic
#233161 #612350 #615323 #236134
square
#233161 #612350 #615323 #236134
split-complementary
#233161 #613423 #506123
monochromatic
#080B16 #131A34 #233161 #33488E #435EBB

Accessibility & contrast

On white

12.47
#233161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#233161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233161
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233161#FFFFFF#000000##FFFFFF
##2331611.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#103160
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #233161;
/* rgb */ color: rgb(35, 49, 97);
/* oklch */ color: oklch(32.8% 0.087 269.0);
Tailwind
colors: {
  custom: {
    50: '#64688e',
    500: '#233161',
    950: '#000000',
  },
}
SCSS
$custom: #233161;
$custom-light: #64688e;
$custom-dark: #000000;
JSON
{
  "hex": "#233161",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 226.452,
    "s": 46.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.08662,
    "h": 269
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#233161
secondary
#95844B
accent
#B851D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #233161

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

Preview Lab → · Contrast checker → · Palette generator →

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