#233166#233166

#233166 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.095 H 269.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#233166
RGBrgb(35, 49, 102)
HSLhsl(227, 49%, 27%)
HSVhsv(227, 66%, 40%)
CMYKcmyk(65.7%, 52%, 0%, 60%)
CIE-LABlab(21.99, 12.86, -33.04)
CIE-LCHlch(21.99, 35.46, 291.26°)
OKLaboklab(33.22% -0.0007 -0.0946)
OKLCHoklch(33.22% 0.095 269.5)
XYZxyz(4.1889, 3.5129, 13.0251)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233166 #665823
analogous
#235366 #233166 #372366
triadic
#233166 #662331 #316623
tetradic
#233166 #662353 #665823 #236637
square
#233166 #662353 #665823 #236637
split-complementary
#233166 #663723 #536623
monochromatic
#080B17 #131B38 #233166 #334794 #445EBF

Accessibility & contrast

On white

12.33
#233166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#233166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233166
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233166#FFFFFF#000000##FFFFFF
##2331661.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153868
Deuteranopia (green-blind)
#083265
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #233166;
/* rgb */ color: rgb(35, 49, 102);
/* oklch */ color: oklch(33.2% 0.095 269.5);
Tailwind
colors: {
  custom: {
    50: '#656892',
    500: '#233166',
    950: '#000000',
  },
}
SCSS
$custom: #233166;
$custom-light: #656892;
$custom-dark: #000000;
JSON
{
  "hex": "#233166",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 227.463,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33224,
    "c": 0.09456,
    "h": 269.5
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#233166
secondary
#9A894B
accent
#BC4FD8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #233166

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

Preview Lab → · Contrast checker → · Palette generator →

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