#233891#233891

#233891 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.149 H 268.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#233891
RGBrgb(35, 56, 145)
HSLhsl(229, 61%, 35%)
HSVhsv(229, 76%, 57%)
CMYKcmyk(75.9%, 61.4%, 0%, 43.1%)
CIE-LABlab(27.38, 24.75, -51.50)
CIE-LCHlch(27.38, 57.13, 295.67°)
OKLaboklab(38.34% -0.0046 -0.1487)
OKLCHoklch(38.34% 0.149 268.2)
XYZxyz(7.2164, 5.2292, 27.4116)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233891 #917C23
analogous
#236F91 #233891 #452391
triadic
#233891 #912338 #389123
tetradic
#233891 #91236F #917C23 #239145
square
#233891 #91236F #917C23 #239145
split-complementary
#233891 #914523 #6F9123
monochromatic
#0B122E #172560 #233891 #2F4BC2 #5870D7

Accessibility & contrast

On white

10.26
#233891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233891
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233891#FFFFFF#000000##FFFFFF
##2338911.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233891;
/* rgb */ color: rgb(35, 56, 145);
/* oklch */ color: oklch(38.3% 0.149 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f6eb2',
    500: '#233891',
    950: '#000000',
  },
}
SCSS
$custom: #233891;
$custom-light: #6f6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#233891",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 228.545,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38344,
    "c": 0.14878,
    "h": 268.2
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#233891
secondary
#BBA755
accent
#C644E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #233891

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

Preview Lab → · Contrast checker → · Palette generator →

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