#12294A#12294A

#12294A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.068 H 257.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#12294A
RGBrgb(18, 41, 74)
HSLhsl(215, 61%, 18%)
HSVhsv(215, 76%, 29%)
CMYKcmyk(75.7%, 44.6%, 0%, 71%)
CIE-LABlab(16.55, 3.87, -23.17)
CIE-LCHlch(16.55, 23.49, 279.49°)
OKLaboklab(28.16% -0.0145 -0.066)
OKLCHoklch(28.16% 0.068 257.6)
XYZxyz(2.2780, 2.2087, 6.7835)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12294A #4A3312
analogous
#12454A #12294A #17124A
triadic
#12294A #4A1229 #294A12
tetradic
#12294A #4A1245 #4A3312 #124A17
square
#12294A #4A1245 #4A3312 #124A17
split-complementary
#12294A #4A1712 #454A12
monochromatic
#060E19 #060E19 #12294A #1E447B #2A60AC

Accessibility & contrast

On white

14.57
#12294A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#12294A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12294A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12294A#FFFFFF#000000##FFFFFF
##12294A1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4B
Deuteranopia (green-blind)
#112749
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #12294a;
/* rgb */ color: rgb(18, 41, 74);
/* oklch */ color: oklch(28.2% 0.068 257.6);
Tailwind
colors: {
  custom: {
    50: '#58627d',
    500: '#12294a',
    950: '#000000',
  },
}
SCSS
$custom: #12294a;
$custom-light: #58627d;
$custom-dark: #000000;
JSON
{
  "hex": "#12294a",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 74
  },
  "hsl": {
    "h": 215.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28162,
    "c": 0.06761,
    "h": 257.6
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#12294A
secondary
#836335
accent
#A244E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #12294A

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

Preview Lab → · Contrast checker → · Palette generator →

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