#12294C#12294C

#12294C is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.071 H 258.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#12294C
RGBrgb(18, 41, 76)
HSLhsl(216, 62%, 18%)
HSVhsv(216, 76%, 30%)
CMYKcmyk(76.3%, 46.1%, 0%, 70.2%)
CIE-LABlab(16.68, 4.73, -24.32)
CIE-LCHlch(16.68, 24.78, 281.00°)
OKLaboklab(28.31% -0.014 -0.0694)
OKLCHoklch(28.31% 0.071 258.6)
XYZxyz(2.3464, 2.2360, 7.1440)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12294C #4C3512
analogous
#12464C #12294C #18124C
triadic
#12294C #4C1229 #294C12
tetradic
#12294C #4C1246 #4C3512 #124C18
square
#12294C #4C1246 #4C3512 #124C18
split-complementary
#12294C #4C1812 #464C12
monochromatic
#060D19 #060E1B #12294C #1E447D #295EAF

Accessibility & contrast

On white

14.51
#12294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#12294C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12294C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12294C#FFFFFF#000000##FFFFFF
##12294C1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4D
Deuteranopia (green-blind)
#0F274B
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #12294c;
/* rgb */ color: rgb(18, 41, 76);
/* oklch */ color: oklch(28.3% 0.071 258.6);
Tailwind
colors: {
  custom: {
    50: '#58627e',
    500: '#12294c',
    950: '#000000',
  },
}
SCSS
$custom: #12294c;
$custom-light: #58627e;
$custom-dark: #000000;
JSON
{
  "hex": "#12294c",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 216.207,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28309,
    "c": 0.07081,
    "h": 258.6
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#12294C
secondary
#856535
accent
#A543E5
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #12294C

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

Preview Lab → · Contrast checker → · Palette generator →

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