#233397#233397

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

Color values

HEX#233397
RGBrgb(35, 51, 151)
HSLhsl(232, 62%, 36%)
HSVhsv(232, 77%, 59%)
CMYKcmyk(76.8%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.62, 30.40, -56.43)
CIE-LCHlch(26.62, 64.09, 298.31°)
OKLaboklab(37.95% -0.0013 -0.1632)
OKLCHoklch(37.95% 0.163 269.5)
XYZxyz(7.4610, 4.9585, 29.8360)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233397 #978723
analogous
#236D97 #233397 #4D2397
triadic
#233397 #972333 #339723
tetradic
#233397 #97236D #978723 #23974D
square
#233397 #97236D #978723 #23974D
split-complementary
#233397 #974D23 #6D9723
monochromatic
#0C1134 #172265 #233397 #2F44C9 #5B6DD9

Accessibility & contrast

On white

10.54
#233397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#233397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233397
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233397#FFFFFF#000000##FFFFFF
##2333971.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233397;
/* rgb */ color: rgb(35, 51, 151);
/* oklch */ color: oklch(37.9% 0.163 269.5);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#233397',
    950: '#000000',
  },
}
SCSS
$custom: #233397;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#233397",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 231.724,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37946,
    "c": 0.16322,
    "h": 269.5
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#233397
secondary
#BEB058
accent
#CF42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233397

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

Preview Lab → · Contrast checker → · Palette generator →

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