#12347C#12347C

#12347C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.129 H 262.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#12347C
RGBrgb(18, 52, 124)
HSLhsl(221, 75%, 28%)
HSVhsv(221, 85%, 49%)
CMYKcmyk(85.5%, 58.1%, 0%, 51.4%)
CIE-LABlab(23.80, 17.21, -44.26)
CIE-LCHlch(23.80, 47.48, 291.25°)
OKLaboklab(34.92% -0.0165 -0.1278)
OKLCHoklch(34.92% 0.129 262.7)
XYZxyz(5.1142, 4.0392, 19.5750)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12347C #7C5A12
analogous
#12697C #12347C #25127C
triadic
#12347C #7C1234 #347C12
tetradic
#12347C #7C1269 #7C5A12 #127C25
square
#12347C #7C1269 #7C5A12 #127C25
split-complementary
#12347C #7C2512 #697C12
monochromatic
#040B1B #0A1E47 #12347C #1A4AB1 #2963E0

Accessibility & contrast

On white

11.62
#12347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#12347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12347C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12347C#FFFFFF#000000##FFFFFF
##12347C1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12347c;
/* rgb */ color: rgb(18, 52, 124);
/* oklch */ color: oklch(34.9% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#656aa3',
    500: '#12347c',
    950: '#000000',
  },
}
SCSS
$custom: #12347c;
$custom-light: #656aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#12347c",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 220.755,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34919,
    "c": 0.12888,
    "h": 262.7
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#12347C
secondary
#B28B38
accent
#B537F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #12347C

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

Preview Lab → · Contrast checker → · Palette generator →

#12347C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva