#233366#233366

#233366 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.092 H 268.1°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#233366
RGBrgb(35, 51, 102)
HSLhsl(226, 49%, 27%)
HSVhsv(226, 66%, 40%)
CMYKcmyk(65.7%, 50%, 0%, 60%)
CIE-LABlab(22.60, 11.44, -32.07)
CIE-LCHlch(22.60, 34.05, 289.63°)
OKLaboklab(33.69% -0.003 -0.0917)
OKLCHoklch(33.69% 0.092 268.1)
XYZxyz(4.2744, 3.6839, 13.0536)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233366 #665623
analogous
#235566 #233366 #352366
triadic
#233366 #662333 #336623
tetradic
#233366 #662355 #665623 #236635
square
#233366 #662355 #665623 #236635
split-complementary
#233366 #663523 #556623
monochromatic
#080B17 #131C38 #233366 #334A94 #4462BF

Accessibility & contrast

On white

12.09
#233366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#233366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233366
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233366#FFFFFF#000000##FFFFFF
##2333661.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#0E3365
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #233366;
/* rgb */ color: rgb(35, 51, 102);
/* oklch */ color: oklch(33.7% 0.092 268.1);
Tailwind
colors: {
  custom: {
    50: '#656a92',
    500: '#233366',
    950: '#000000',
  },
}
SCSS
$custom: #233366;
$custom-light: #656a92;
$custom-dark: #000000;
JSON
{
  "hex": "#233366",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 225.672,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33686,
    "c": 0.09171,
    "h": 268.1
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#233366
secondary
#9A874B
accent
#B84FD8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #233366

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

Preview Lab → · Contrast checker → · Palette generator →

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