#23306E#23306E

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

Color values

HEX#23306E
RGBrgb(35, 48, 110)
HSLhsl(230, 52%, 28%)
HSVhsv(230, 68%, 43%)
CMYKcmyk(68.2%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.29, 16.69, -37.74)
CIE-LCHlch(22.29, 41.26, 293.85°)
OKLaboklab(33.64% 0.0011 -0.1084)
OKLCHoklch(33.64% 0.108 270.6)
XYZxyz(4.5636, 3.5966, 15.2025)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23306E #6E6123
analogous
#23556E #23306E #3B236E
triadic
#23306E #6E2330 #306E23
tetradic
#23306E #6E2355 #6E6123 #236E3B
square
#23306E #6E2355 #6E6123 #236E3B
split-complementary
#23306E #6E3B23 #556E23
monochromatic
#070A17 #141C40 #23306E #32449C #475DC4

Accessibility & contrast

On white

12.21
#23306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23306E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23306E#FFFFFF#000000##FFFFFF
##23306E1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23306e;
/* rgb */ color: rgb(35, 48, 110);
/* oklch */ color: oklch(33.6% 0.108 270.6);
Tailwind
colors: {
  custom: {
    50: '#676898',
    500: '#23306e',
    950: '#000000',
  },
}
SCSS
$custom: #23306e;
$custom-light: #676898;
$custom-dark: #000000;
JSON
{
  "hex": "#23306e",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 229.6,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.10839,
    "h": 270.6
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#23306E
secondary
#A1924C
accent
#C24DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #23306E

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

Preview Lab → · Contrast checker → · Palette generator →

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