#233399#233399

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

Color values

HEX#233399
RGBrgb(35, 51, 153)
HSLhsl(232, 63%, 37%)
HSVhsv(232, 77%, 60%)
CMYKcmyk(77.1%, 66.7%, 0%, 40%)
CIE-LABlab(26.80, 31.14, -57.35)
CIE-LCHlch(26.80, 65.26, 298.51°)
OKLaboklab(38.14% -0.0015 -0.1659)
OKLCHoklch(38.14% 0.166 269.5)
XYZxyz(7.6248, 5.0241, 30.6987)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233399 #998923
analogous
#236E99 #233399 #4E2399
triadic
#233399 #992333 #339923
tetradic
#233399 #99236E #998923 #23994E
square
#233399 #99236E #998923 #23994E
split-complementary
#233399 #994E23 #6E9923
monochromatic
#0C1235 #182267 #233399 #2E44CB #5D6EDA

Accessibility & contrast

On white

10.47
#233399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#233399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233399
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233399#FFFFFF#000000##FFFFFF
##2333991.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233399;
/* rgb */ color: rgb(35, 51, 153);
/* oklch */ color: oklch(38.1% 0.166 269.5);
Tailwind
colors: {
  custom: {
    50: '#726ab8',
    500: '#233399',
    950: '#000000',
  },
}
SCSS
$custom: #233399;
$custom-light: #726ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#233399",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 231.864,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.16591,
    "h": 269.5
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#233399
secondary
#BEB159
accent
#D042E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233399

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

Preview Lab → · Contrast checker → · Palette generator →

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