#233976#233976

#233976 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.108 H 266.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#233976
RGBrgb(35, 57, 118)
HSLhsl(224, 54%, 30%)
HSVhsv(224, 70%, 46%)
CMYKcmyk(70.3%, 51.7%, 0%, 53.7%)
CIE-LABlab(25.54, 13.48, -37.61)
CIE-LCHlch(25.54, 39.95, 289.71°)
OKLaboklab(36.29% -0.0072 -0.1079)
OKLCHoklch(36.29% 0.108 266.2)
XYZxyz(5.4251, 4.5911, 17.7363)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233976 #766023
analogous
#236376 #233976 #362376
triadic
#233976 #762339 #397623
tetradic
#233976 #762363 #766023 #237636
square
#233976 #762363 #766023 #237636
split-complementary
#233976 #763623 #637623
monochromatic
#070B18 #152247 #233976 #3150A5 #4A6CC9

Accessibility & contrast

On white

10.95
#233976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#233976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233976
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233976#FFFFFF#000000##FFFFFF
##2339761.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174178
Deuteranopia (green-blind)
#003975
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #233976;
/* rgb */ color: rgb(35, 57, 118);
/* oklch */ color: oklch(36.3% 0.108 266.2);
Tailwind
colors: {
  custom: {
    50: '#696e9e',
    500: '#233976',
    950: '#000000',
  },
}
SCSS
$custom: #233976;
$custom-light: #696e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#233976",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 224.096,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.36288,
    "c": 0.10811,
    "h": 266.2
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#233976
secondary
#A9904C
accent
#B74ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #233976

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

Preview Lab → · Contrast checker → · Palette generator →

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