#23267F#23267F

#23267F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.146 H 273.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#23267F
RGBrgb(35, 38, 127)
HSLhsl(238, 57%, 32%)
HSVhsv(238, 72%, 50%)
CMYKcmyk(72.4%, 70.1%, 0%, 50.2%)
CIE-LABlab(21.11, 30.03, -50.51)
CIE-LCHlch(21.11, 58.76, 300.73°)
OKLaboklab(33.24% 0.0093 -0.146)
OKLCHoklch(33.24% 0.146 273.6)
XYZxyz(5.2157, 3.2754, 20.4319)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23267F #7F7C23
analogous
#23547F #23267F #4E237F
triadic
#23267F #7F2326 #267F23
tetradic
#23267F #7F2354 #7F7C23 #237F4E
square
#23267F #7F2354 #7F7C23 #237F4E
split-complementary
#23267F #7F4E23 #547F23
monochromatic
#09091F #16184F #23267F #3034AF #4E52CE

Accessibility & contrast

On white

12.69
#23267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#23267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23267F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23267F#FFFFFF#000000##FFFFFF
##23267F1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23267f;
/* rgb */ color: rgb(35, 38, 127);
/* oklch */ color: oklch(33.2% 0.146 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c61a5',
    500: '#23267f',
    950: '#000000',
  },
}
SCSS
$custom: #23267f;
$custom-light: #6c61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23267f",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 238.043,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.14626,
    "h": 273.6
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#23267F
secondary
#B1AE4C
accent
#DB48E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #23267F

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

Preview Lab → · Contrast checker → · Palette generator →

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