#23306F#23306F

#23306F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.110 H 270.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#23306F
RGBrgb(35, 48, 111)
HSLhsl(230, 52%, 29%)
HSVhsv(230, 68%, 44%)
CMYKcmyk(68.5%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.37, 17.08, -38.26)
CIE-LCHlch(22.37, 41.89, 294.05°)
OKLaboklab(33.72% 0.0012 -0.1099)
OKLCHoklch(33.72% 0.11 270.6)
XYZxyz(4.6184, 3.6185, 15.4909)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23306F #6F6223
analogous
#23566F #23306F #3C236F
triadic
#23306F #6F2330 #306F23
tetradic
#23306F #6F2356 #6F6223 #236F3C
square
#23306F #6F2356 #6F6223 #236F3C
split-complementary
#23306F #6F3C23 #566F23
monochromatic
#070A17 #141C40 #23306F #32449E #475DC5

Accessibility & contrast

On white

12.18
#23306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#23306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23306F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23306F#FFFFFF#000000##FFFFFF
##23306F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23306f;
/* rgb */ color: rgb(35, 48, 111);
/* oklch */ color: oklch(33.7% 0.110 270.6);
Tailwind
colors: {
  custom: {
    50: '#676899',
    500: '#23306f',
    950: '#000000',
  },
}
SCSS
$custom: #23306f;
$custom-light: #676899;
$custom-dark: #000000;
JSON
{
  "hex": "#23306f",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 229.737,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33724,
    "c": 0.10992,
    "h": 270.6
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#23306F
secondary
#A2934C
accent
#C34CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #23306F

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

Preview Lab → · Contrast checker → · Palette generator →

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