#12296A#12296A

#12296A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.117 H 265.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#12296A
RGBrgb(18, 41, 106)
HSLhsl(224, 71%, 24%)
HSVhsv(224, 83%, 42%)
CMYKcmyk(83%, 61.3%, 0%, 58.4%)
CIE-LABlab(19.03, 17.58, -40.48)
CIE-LCHlch(19.03, 44.13, 293.47°)
OKLaboklab(30.85% -0.0098 -0.1169)
OKLCHoklch(30.85% 0.117 265.2)
XYZxyz(3.6430, 2.7547, 13.9726)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12296A #6A5312
analogous
#12556A #12296A #27126A
triadic
#12296A #6A1229 #296A12
tetradic
#12296A #6A1255 #6A5312 #126A27
square
#12296A #6A1255 #6A5312 #126A27
split-complementary
#12296A #6A2712 #556A12
monochromatic
#040A1A #091536 #12296A #1B3D9E #2451D3

Accessibility & contrast

On white

13.54
#12296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#12296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12296A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12296A#FFFFFF#000000##FFFFFF
##12296A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12296a;
/* rgb */ color: rgb(18, 41, 106);
/* oklch */ color: oklch(30.8% 0.117 265.2);
Tailwind
colors: {
  custom: {
    50: '#606295',
    500: '#12296a',
    950: '#000000',
  },
}
SCSS
$custom: #12296a;
$custom-light: #606295;
$custom-dark: #000000;
JSON
{
  "hex": "#12296a",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 224.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.11734,
    "h": 265.2
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#12296A
secondary
#A28536
accent
#BF3AEE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #12296A

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

Preview Lab → · Contrast checker → · Palette generator →

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