#23268F#23268F

#23268F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.168 H 272.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#23268F
RGBrgb(35, 38, 143)
HSLhsl(238, 61%, 35%)
HSVhsv(238, 76%, 56%)
CMYKcmyk(75.5%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.74, 35.80, -57.86)
CIE-LCHlch(22.74, 68.04, 301.75°)
OKLaboklab(34.9% 0.007 -0.1674)
OKLCHoklch(34.9% 0.168 272.4)
XYZxyz(6.3425, 3.7261, 26.3662)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23268F #8F8C23
analogous
#235C8F #23268F #56238F
triadic
#23268F #8F2326 #268F23
tetradic
#23268F #8F235C #8F8C23 #238F56
square
#23268F #8F235C #8F8C23 #238F56
split-complementary
#23268F #8F5623 #5C8F23
monochromatic
#0B0C2D #17195E #23268F #2F33C0 #575AD6

Accessibility & contrast

On white

12.03
#23268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#23268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23268F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23268F#FFFFFF#000000##FFFFFF
##23268F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23268f;
/* rgb */ color: rgb(35, 38, 143);
/* oklch */ color: oklch(34.9% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#7061b1',
    500: '#23268f',
    950: '#000000',
  },
}
SCSS
$custom: #23268f;
$custom-light: #7061b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23268f",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 238.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34902,
    "c": 0.16757,
    "h": 272.4
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#23268F
secondary
#BAB754
accent
#DF44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23268F

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

Preview Lab → · Contrast checker → · Palette generator →

#23268F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva