#233792#233792

#233792 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.151 H 268.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#233792
RGBrgb(35, 55, 146)
HSLhsl(229, 61%, 35%)
HSVhsv(229, 76%, 57%)
CMYKcmyk(76%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.20, 25.81, -52.41)
CIE-LCHlch(27.20, 58.42, 296.22°)
OKLaboklab(38.24% -0.0038 -0.1514)
OKLCHoklch(38.24% 0.151 268.5)
XYZxyz(7.2458, 5.1642, 27.8035)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233792 #927E23
analogous
#236E92 #233792 #462392
triadic
#233792 #922337 #379223
tetradic
#233792 #92236E #927E23 #239246
square
#233792 #92236E #927E23 #239246
split-complementary
#233792 #924623 #6E9223
monochromatic
#0B122F #172461 #233792 #2F4AC3 #586FD7

Accessibility & contrast

On white

10.33
#233792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#233792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233792
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233792#FFFFFF#000000##FFFFFF
##2337921.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233792;
/* rgb */ color: rgb(35, 55, 146);
/* oklch */ color: oklch(38.2% 0.151 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f6db3',
    500: '#233792',
    950: '#000000',
  },
}
SCSS
$custom: #233792;
$custom-light: #6f6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#233792",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 229.189,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.15144,
    "h": 268.5
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#233792
secondary
#BBA955
accent
#C743E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233792

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

Preview Lab → · Contrast checker → · Palette generator →

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