#12347E#12347E

#12347E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.132 H 262.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#12347E
RGBrgb(18, 52, 126)
HSLhsl(221, 75%, 28%)
HSVhsv(221, 86%, 49%)
CMYKcmyk(85.7%, 58.7%, 0%, 50.6%)
CIE-LABlab(23.97, 18.05, -45.25)
CIE-LCHlch(23.97, 48.71, 291.75°)
OKLaboklab(35.1% -0.0163 -0.1307)
OKLCHoklch(35.1% 0.132 262.9)
XYZxyz(5.2420, 4.0903, 20.2478)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12347E #7E5C12
analogous
#126A7E #12347E #26127E
triadic
#12347E #7E1234 #347E12
tetradic
#12347E #7E126A #7E5C12 #127E26
square
#12347E #7E126A #7E5C12 #127E26
split-complementary
#12347E #7E2612 #6A7E12
monochromatic
#040B1B #0A1E48 #12347E #1A4AB4 #2A63E1

Accessibility & contrast

On white

11.55
#12347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#12347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12347E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12347E#FFFFFF#000000##FFFFFF
##12347E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12347e;
/* rgb */ color: rgb(18, 52, 126);
/* oklch */ color: oklch(35.1% 0.132 262.9);
Tailwind
colors: {
  custom: {
    50: '#656aa4',
    500: '#12347e',
    950: '#000000',
  },
}
SCSS
$custom: #12347e;
$custom-light: #656aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#12347e",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 221.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.13174,
    "h": 262.9
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#12347E
secondary
#B48D38
accent
#B736F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #12347E

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

Preview Lab → · Contrast checker → · Palette generator →

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