#23306D#23306D

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

Color values

HEX#23306D
RGBrgb(35, 48, 109)
HSLhsl(229, 51%, 28%)
HSVhsv(229, 68%, 43%)
CMYKcmyk(67.9%, 56%, 0%, 57.3%)
CIE-LABlab(22.21, 16.30, -37.22)
CIE-LCHlch(22.21, 40.63, 293.65°)
OKLaboklab(33.56% 0.0011 -0.1068)
OKLCHoklch(33.56% 0.107 270.6)
XYZxyz(4.5095, 3.5750, 14.9174)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23306D #6D6023
analogous
#23556D #23306D #3B236D
triadic
#23306D #6D2330 #306D23
tetradic
#23306D #6D2355 #6D6023 #236D3B
square
#23306D #6D2355 #6D6023 #236D3B
split-complementary
#23306D #6D3B23 #556D23
monochromatic
#070A17 #141C3F #23306D #32449B #475DC4

Accessibility & contrast

On white

12.24
#23306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23306D
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23306D#FFFFFF#000000##FFFFFF
##23306D1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08396F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23306d;
/* rgb */ color: rgb(35, 48, 109);
/* oklch */ color: oklch(33.6% 0.107 270.6);
Tailwind
colors: {
  custom: {
    50: '#676897',
    500: '#23306d',
    950: '#000000',
  },
}
SCSS
$custom: #23306d;
$custom-light: #676897;
$custom-dark: #000000;
JSON
{
  "hex": "#23306d",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 229.459,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.10686,
    "h": 270.6
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#23306D
secondary
#A0914B
accent
#C24DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23306D

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

Preview Lab → · Contrast checker → · Palette generator →

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