#233789#233789

#233789 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.139 H 268.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#233789
RGBrgb(35, 55, 137)
HSLhsl(228, 59%, 34%)
HSVhsv(228, 74%, 54%)
CMYKcmyk(74.5%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.43, 22.33, -48.09)
CIE-LCHlch(26.43, 53.02, 294.91°)
OKLaboklab(37.43% -0.0039 -0.1387)
OKLCHoklch(37.43% 0.139 268.4)
XYZxyz(6.5731, 4.8952, 24.2605)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233789 #897523
analogous
#236A89 #233789 #422389
triadic
#233789 #892337 #378923
tetradic
#233789 #89236A #897523 #238942
square
#233789 #89236A #897523 #238942
split-complementary
#233789 #894223 #6A8923
monochromatic
#0A1028 #172358 #233789 #2F4BBA #536CD3

Accessibility & contrast

On white

10.61
#233789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#233789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233789
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233789#FFFFFF#000000##FFFFFF
##2337891.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233789;
/* rgb */ color: rgb(35, 55, 137);
/* oklch */ color: oklch(37.4% 0.139 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d6dac',
    500: '#233789',
    950: '#000000',
  },
}
SCSS
$custom: #233789;
$custom-light: #6d6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#233789",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 228.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.13877,
    "h": 268.4
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#233789
secondary
#B7A351
accent
#C445E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233789

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

Preview Lab → · Contrast checker → · Palette generator →

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