#23306C#23306C

#23306C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.105 H 270.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#23306C
RGBrgb(35, 48, 108)
HSLhsl(229, 51%, 28%)
HSVhsv(229, 68%, 42%)
CMYKcmyk(67.6%, 55.6%, 0%, 57.6%)
CIE-LABlab(22.14, 15.91, -36.70)
CIE-LCHlch(22.14, 40.00, 293.43°)
OKLaboklab(33.48% 0.001 -0.1053)
OKLCHoklch(33.48% 0.105 270.5)
XYZxyz(4.4559, 3.5535, 14.6355)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23306C #6C5F23
analogous
#23546C #23306C #3A236C
triadic
#23306C #6C2330 #306C23
tetradic
#23306C #6C2354 #6C5F23 #236C3A
square
#23306C #6C2354 #6C5F23 #236C3A
split-complementary
#23306C #6C3A23 #546C23
monochromatic
#070A17 #141B3E #23306C #32459A #465DC3

Accessibility & contrast

On white

12.27
#23306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#23306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23306C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23306C#FFFFFF#000000##FFFFFF
##23306C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A386E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23306c;
/* rgb */ color: rgb(35, 48, 108);
/* oklch */ color: oklch(33.5% 0.105 270.5);
Tailwind
colors: {
  custom: {
    50: '#676897',
    500: '#23306c',
    950: '#000000',
  },
}
SCSS
$custom: #23306c;
$custom-light: #676897;
$custom-dark: #000000;
JSON
{
  "hex": "#23306c",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 229.315,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33476,
    "c": 0.10532,
    "h": 270.5
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#23306C
secondary
#9F904B
accent
#C14DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23306C

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

Preview Lab → · Contrast checker → · Palette generator →

#23306C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva