#12306E#12306E

#12306E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.114 H 262.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#12306E
RGBrgb(18, 48, 110)
HSLhsl(220, 72%, 25%)
HSVhsv(220, 84%, 43%)
CMYKcmyk(83.6%, 56.4%, 0%, 56.9%)
CIE-LABlab(21.46, 14.17, -39.12)
CIE-LCHlch(21.46, 41.61, 289.91°)
OKLaboklab(32.79% -0.0148 -0.1128)
OKLCHoklch(32.79% 0.114 262.5)
XYZxyz(4.1199, 3.3678, 15.1817)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12306E #6E5012
analogous
#125E6E #12306E #22126E
triadic
#12306E #6E1230 #306E12
tetradic
#12306E #6E125E #6E5012 #126E22
square
#12306E #6E125E #6E5012 #126E22
split-complementary
#12306E #6E2212 #5E6E12
monochromatic
#040B1A #091939 #12306E #1B47A3 #235ED7

Accessibility & contrast

On white

12.55
#12306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12306E
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12306E#FFFFFF#000000##FFFFFF
##12306E1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #12306e;
/* rgb */ color: rgb(18, 48, 110);
/* oklch */ color: oklch(32.8% 0.114 262.5);
Tailwind
colors: {
  custom: {
    50: '#616798',
    500: '#12306e',
    950: '#000000',
  },
}
SCSS
$custom: #12306e;
$custom-light: #616798;
$custom-dark: #000000;
JSON
{
  "hex": "#12306e",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 220.435,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32786,
    "c": 0.11378,
    "h": 262.5
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#12306E
secondary
#A58137
accent
#B339EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #12306E

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

Preview Lab → · Contrast checker → · Palette generator →

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