#233997#233997

#233997 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.156 H 268.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#233997
RGBrgb(35, 57, 151)
HSLhsl(229, 62%, 36%)
HSVhsv(229, 77%, 59%)
CMYKcmyk(76.8%, 62.3%, 0%, 40.8%)
CIE-LABlab(28.16, 26.38, -53.90)
CIE-LCHlch(28.16, 60.01, 296.08°)
OKLaboklab(39.08% -0.0053 -0.1557)
OKLCHoklch(39.08% 0.156 268.1)
XYZxyz(7.7402, 5.5171, 29.9291)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233997 #978123
analogous
#237397 #233997 #472397
triadic
#233997 #972339 #399723
tetradic
#233997 #972373 #978123 #239747
square
#233997 #972373 #978123 #239747
split-complementary
#233997 #974723 #739723
monochromatic
#0C1334 #172665 #233997 #2F4CC9 #5B73D9

Accessibility & contrast

On white

9.98
#233997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#233997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233997
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233997#FFFFFF#000000##FFFFFF
##2339971.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233997;
/* rgb */ color: rgb(35, 57, 151);
/* oklch */ color: oklch(39.1% 0.156 268.1);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#233997',
    950: '#000000',
  },
}
SCSS
$custom: #233997;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#233997",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 228.621,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39084,
    "c": 0.15584,
    "h": 268.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#233997
secondary
#BEAA58
accent
#C742E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233997

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

Preview Lab → · Contrast checker → · Palette generator →

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