#233398#233398

#233398 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.165 H 269.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#233398
RGBrgb(35, 51, 152)
HSLhsl(232, 63%, 37%)
HSVhsv(232, 77%, 60%)
CMYKcmyk(77%, 66.4%, 0%, 40.4%)
CIE-LABlab(26.71, 30.77, -56.89)
CIE-LCHlch(26.71, 64.68, 298.41°)
OKLaboklab(38.04% -0.0014 -0.1646)
OKLCHoklch(38.04% 0.165 269.5)
XYZxyz(7.5425, 4.9912, 30.2656)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233398 #988823
analogous
#236E98 #233398 #4E2398
triadic
#233398 #982333 #339823
tetradic
#233398 #98236E #988823 #23984E
square
#233398 #98236E #988823 #23984E
split-complementary
#233398 #984E23 #6E9823
monochromatic
#0C1235 #182266 #233398 #2E44CA #5C6DD9

Accessibility & contrast

On white

10.51
#233398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#233398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233398
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233398#FFFFFF#000000##FFFFFF
##2333981.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233398;
/* rgb */ color: rgb(35, 51, 152);
/* oklch */ color: oklch(38.0% 0.165 269.5);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#233398',
    950: '#000000',
  },
}
SCSS
$custom: #233398;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#233398",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 231.795,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.16457,
    "h": 269.5
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#233398
secondary
#BEB059
accent
#CF42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233398

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

Preview Lab → · Contrast checker → · Palette generator →

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