#233894#233894

#233894 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.153 H 268.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#233894
RGBrgb(35, 56, 148)
HSLhsl(229, 62%, 36%)
HSVhsv(229, 76%, 58%)
CMYKcmyk(76.4%, 62.2%, 0%, 42%)
CIE-LABlab(27.64, 25.90, -52.92)
CIE-LCHlch(27.64, 58.92, 296.08°)
OKLaboklab(38.62% -0.0046 -0.1529)
OKLCHoklch(38.62% 0.153 268.3)
XYZxyz(7.4508, 5.3230, 28.6460)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233894 #947F23
analogous
#237094 #233894 #472394
triadic
#233894 #942338 #389423
tetradic
#233894 #942370 #947F23 #239447
square
#233894 #942370 #947F23 #239447
split-complementary
#233894 #944723 #709423
monochromatic
#0C1331 #172563 #233894 #2F4BC5 #5A71D8

Accessibility & contrast

On white

10.17
#233894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#233894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233894
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233894#FFFFFF#000000##FFFFFF
##2338941.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233894;
/* rgb */ color: rgb(35, 56, 148);
/* oklch */ color: oklch(38.6% 0.153 268.3);
Tailwind
colors: {
  custom: {
    50: '#706eb4',
    500: '#233894',
    950: '#000000',
  },
}
SCSS
$custom: #233894;
$custom-light: #706eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#233894",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 228.85,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38615,
    "c": 0.15296,
    "h": 268.3
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#233894
secondary
#BCA957
accent
#C743E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233894

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

Preview Lab → · Contrast checker → · Palette generator →

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