#233899#233899

#233899 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.160 H 268.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#233899
RGBrgb(35, 56, 153)
HSLhsl(229, 63%, 37%)
HSVhsv(229, 77%, 60%)
CMYKcmyk(77.1%, 63.4%, 0%, 40%)
CIE-LABlab(28.07, 27.82, -55.27)
CIE-LCHlch(28.07, 61.87, 296.72°)
OKLaboklab(39.07% -0.0046 -0.1598)
OKLCHoklch(39.07% 0.16 268.3)
XYZxyz(7.8551, 5.4847, 30.7755)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233899 #998423
analogous
#237399 #233899 #492399
triadic
#233899 #992338 #389923
tetradic
#233899 #992373 #998423 #239949
square
#233899 #992373 #998423 #239949
split-complementary
#233899 #994923 #739923
monochromatic
#0C1435 #182667 #233899 #2E4ACB #5D73DA

Accessibility & contrast

On white

10.01
#233899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#233899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233899
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233899#FFFFFF#000000##FFFFFF
##2338991.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233899;
/* rgb */ color: rgb(35, 56, 153);
/* oklch */ color: oklch(39.1% 0.160 268.3);
Tailwind
colors: {
  custom: {
    50: '#716eb8',
    500: '#233899',
    950: '#000000',
  },
}
SCSS
$custom: #233899;
$custom-light: #716eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#233899",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 229.322,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39075,
    "c": 0.15983,
    "h": 268.3
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#233899
secondary
#BEAC59
accent
#C942E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233899

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

Preview Lab → · Contrast checker → · Palette generator →

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