#233156#233156

#233156 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.069 H 266.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#233156
RGBrgb(35, 49, 86)
HSLhsl(224, 42%, 24%)
HSVhsv(224, 59%, 34%)
CMYKcmyk(59.3%, 43%, 0%, 66.3%)
CIE-LABlab(20.93, 6.72, -24.23)
CIE-LCHlch(20.93, 25.14, 285.49°)
OKLaboklab(32.06% -0.0037 -0.0687)
OKLCHoklch(32.06% 0.069 266.9)
XYZxyz(3.4706, 3.2256, 9.2420)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233156 #564823
analogous
#234A56 #233156 #2E2356
triadic
#233156 #562331 #315623
tetradic
#233156 #56234A #564823 #23562E
square
#233156 #56234A #564823 #23562E
split-complementary
#233156 #562E23 #4A5623
monochromatic
#090C16 #11182B #233156 #354A81 #4663AD

Accessibility & contrast

On white

12.76
#233156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#233156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233156
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233156#FFFFFF#000000##FFFFFF
##2331561.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223557
Deuteranopia (green-blind)
#1C3055
Tritanopia (blue-blind)
#07393F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #233156;
/* rgb */ color: rgb(35, 49, 86);
/* oklch */ color: oklch(32.1% 0.069 266.9);
Tailwind
colors: {
  custom: {
    50: '#626886',
    500: '#233156',
    950: '#000000',
  },
}
SCSS
$custom: #233156;
$custom-light: #626886;
$custom-dark: #000000;
JSON
{
  "hex": "#233156",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 223.529,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32064,
    "c": 0.06879,
    "h": 266.9
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#233156
secondary
#8A794B
accent
#B056D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #233156

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

Preview Lab → · Contrast checker → · Palette generator →

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