#233799#233799

#233799 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.161 H 268.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#233799
RGBrgb(35, 55, 153)
HSLhsl(230, 63%, 37%)
HSVhsv(230, 77%, 60%)
CMYKcmyk(77.1%, 64.1%, 0%, 40%)
CIE-LABlab(27.81, 28.49, -55.69)
CIE-LCHlch(27.81, 62.55, 297.09°)
OKLaboklab(38.88% -0.004 -0.161)
OKLCHoklch(38.88% 0.161 268.6)
XYZxyz(7.8071, 5.3888, 30.7595)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233799 #998523
analogous
#237299 #233799 #4A2399
triadic
#233799 #992337 #379923
tetradic
#233799 #992372 #998523 #23994A
square
#233799 #992372 #998523 #23994A
split-complementary
#233799 #994A23 #729923
monochromatic
#0C1335 #182567 #233799 #2E49CB #5D72DA

Accessibility & contrast

On white

10.11
#233799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#233799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233799
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233799#FFFFFF#000000##FFFFFF
##2337991.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233799;
/* rgb */ color: rgb(35, 55, 153);
/* oklch */ color: oklch(38.9% 0.161 268.6);
Tailwind
colors: {
  custom: {
    50: '#716db8',
    500: '#233799',
    950: '#000000',
  },
}
SCSS
$custom: #233799;
$custom-light: #716db8;
$custom-dark: #000000;
JSON
{
  "hex": "#233799",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 229.831,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38884,
    "c": 0.16106,
    "h": 268.6
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#233799
secondary
#BEAD59
accent
#CA42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233799

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

Preview Lab → · Contrast checker → · Palette generator →

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