#233797#233797

#233797 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.158 H 268.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#233797
RGBrgb(35, 55, 151)
HSLhsl(230, 62%, 36%)
HSVhsv(230, 77%, 59%)
CMYKcmyk(76.8%, 63.6%, 0%, 40.8%)
CIE-LABlab(27.64, 27.73, -54.76)
CIE-LCHlch(27.64, 61.38, 296.86°)
OKLaboklab(38.7% -0.0039 -0.1583)
OKLCHoklch(38.7% 0.158 268.6)
XYZxyz(7.6433, 5.3232, 29.8968)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233797 #978323
analogous
#237197 #233797 #492397
triadic
#233797 #972337 #379723
tetradic
#233797 #972371 #978323 #239749
square
#233797 #972371 #978323 #239749
split-complementary
#233797 #974923 #719723
monochromatic
#0C1334 #172565 #233797 #2F49C9 #5B71D9

Accessibility & contrast

On white

10.17
#233797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#233797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233797
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233797#FFFFFF#000000##FFFFFF
##2337971.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233797;
/* rgb */ color: rgb(35, 55, 151);
/* oklch */ color: oklch(38.7% 0.158 268.6);
Tailwind
colors: {
  custom: {
    50: '#716db6',
    500: '#233797',
    950: '#000000',
  },
}
SCSS
$custom: #233797;
$custom-light: #716db6;
$custom-dark: #000000;
JSON
{
  "hex": "#233797",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 229.655,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38697,
    "c": 0.15834,
    "h": 268.6
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#233797
secondary
#BEAC58
accent
#C942E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233797

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

Preview Lab → · Contrast checker → · Palette generator →

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