#12306D#12306D

#12306D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.112 H 262.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#12306D
RGBrgb(18, 48, 109)
HSLhsl(220, 72%, 25%)
HSVhsv(220, 83%, 43%)
CMYKcmyk(83.5%, 56%, 0%, 57.3%)
CIE-LABlab(21.38, 13.74, -38.61)
CIE-LCHlch(21.38, 40.98, 289.59°)
OKLaboklab(32.7% -0.0149 -0.1113)
OKLCHoklch(32.7% 0.112 262.4)
XYZxyz(4.0657, 3.3462, 14.8966)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12306D #6D4F12
analogous
#125E6D #12306D #22126D
triadic
#12306D #6D1230 #306D12
tetradic
#12306D #6D125E #6D4F12 #126D22
square
#12306D #6D125E #6D4F12 #126D22
split-complementary
#12306D #6D2212 #5E6D12
monochromatic
#040C1A #091938 #12306D #1B47A2 #235ED6

Accessibility & contrast

On white

12.58
#12306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#12306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12306D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12306D#FFFFFF#000000##FFFFFF
##12306D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #12306d;
/* rgb */ color: rgb(18, 48, 109);
/* oklch */ color: oklch(32.7% 0.112 262.4);
Tailwind
colors: {
  custom: {
    50: '#616797',
    500: '#12306d',
    950: '#000000',
  },
}
SCSS
$custom: #12306d;
$custom-light: #616797;
$custom-dark: #000000;
JSON
{
  "hex": "#12306d",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 220.22,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.327,
    "c": 0.1123,
    "h": 262.4
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#12306D
secondary
#A48037
accent
#B339EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #12306D

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

Preview Lab → · Contrast checker → · Palette generator →

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