#233197#233197

#233197 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.166 H 270.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#233197
RGBrgb(35, 49, 151)
HSLhsl(233, 62%, 36%)
HSVhsv(233, 77%, 59%)
CMYKcmyk(76.8%, 67.5%, 0%, 40.8%)
CIE-LABlab(26.12, 31.71, -57.24)
CIE-LCHlch(26.12, 65.44, 298.99°)
OKLaboklab(37.58% -0.0001 -0.1656)
OKLCHoklch(37.58% 0.166 270)
XYZxyz(7.3755, 4.7875, 29.8075)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233197 #978923
analogous
#236B97 #233197 #4F2397
triadic
#233197 #972331 #319723
tetradic
#233197 #97236B #978923 #23974F
square
#233197 #97236B #978923 #23974F
split-complementary
#233197 #974F23 #6B9723
monochromatic
#0C1134 #172165 #233197 #2F41C9 #5B6BD9

Accessibility & contrast

On white

10.73
#233197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#233197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233197
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233197#FFFFFF#000000##FFFFFF
##2331971.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233197;
/* rgb */ color: rgb(35, 49, 151);
/* oklch */ color: oklch(37.6% 0.166 270.0);
Tailwind
colors: {
  custom: {
    50: '#7169b7',
    500: '#233197',
    950: '#000000',
  },
}
SCSS
$custom: #233197;
$custom-light: #7169b7;
$custom-dark: #000000;
JSON
{
  "hex": "#233197",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 232.759,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37584,
    "c": 0.16561,
    "h": 270
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#233197
secondary
#BEB158
accent
#D242E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233197

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

Preview Lab → · Contrast checker → · Palette generator →

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