#12294F#12294F

#12294F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.076 H 259.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#12294F
RGBrgb(18, 41, 79)
HSLhsl(217, 63%, 19%)
HSVhsv(217, 77%, 31%)
CMYKcmyk(77.2%, 48.1%, 0%, 69%)
CIE-LABlab(16.89, 6.01, -26.03)
CIE-LCHlch(16.89, 26.71, 283.00°)
OKLaboklab(28.54% -0.0133 -0.0744)
OKLCHoklch(28.54% 0.076 259.9)
XYZxyz(2.4532, 2.2787, 7.7062)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12294F #4F3812
analogous
#12484F #12294F #1A124F
triadic
#12294F #4F1229 #294F12
tetradic
#12294F #4F1248 #4F3812 #124F1A
square
#12294F #4F1248 #4F3812 #124F1A
split-complementary
#12294F #4F1A12 #484F12
monochromatic
#060D19 #070F1D #12294F #1D4381 #295DB3

Accessibility & contrast

On white

14.43
#12294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#12294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12294F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12294F#FFFFFF#000000##FFFFFF
##12294F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D50
Deuteranopia (green-blind)
#0B274E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #12294f;
/* rgb */ color: rgb(18, 41, 79);
/* oklch */ color: oklch(28.5% 0.076 259.9);
Tailwind
colors: {
  custom: {
    50: '#596280',
    500: '#12294f',
    950: '#000000',
  },
}
SCSS
$custom: #12294f;
$custom-light: #596280;
$custom-dark: #000000;
JSON
{
  "hex": "#12294f",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 217.377,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28536,
    "c": 0.0756,
    "h": 259.9
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#12294F
secondary
#886935
accent
#A842E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #12294F

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

Preview Lab → · Contrast checker → · Palette generator →

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