#12295A#12295A

#12295A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.093 H 263.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#12295A
RGBrgb(18, 41, 90)
HSLhsl(221, 67%, 21%)
HSVhsv(221, 80%, 35%)
CMYKcmyk(80%, 54.4%, 0%, 64.7%)
CIE-LABlab(17.70, 10.74, -32.11)
CIE-LCHlch(17.70, 33.86, 288.50°)
OKLaboklab(29.42% -0.0113 -0.0923)
OKLCHoklch(29.42% 0.093 263)
XYZxyz(2.8872, 2.4523, 9.9921)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12295A #5A4312
analogous
#124D5A #12295A #1F125A
triadic
#12295A #5A1229 #295A12
tetradic
#12295A #5A124D #5A4312 #125A1F
square
#12295A #5A124D #5A4312 #125A1F
split-complementary
#12295A #5A1F12 #4D5A12
monochromatic
#050C1A #081227 #12295A #1C408D #2657C0

Accessibility & contrast

On white

14.09
#12295A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#12295A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12295A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12295A#FFFFFF#000000##FFFFFF
##12295A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #12295a;
/* rgb */ color: rgb(18, 41, 90);
/* oklch */ color: oklch(29.4% 0.093 263.0);
Tailwind
colors: {
  custom: {
    50: '#5c6289',
    500: '#12295a',
    950: '#000000',
  },
}
SCSS
$custom: #12295a;
$custom-light: #5c6289;
$custom-dark: #000000;
JSON
{
  "hex": "#12295a",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 220.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29423,
    "c": 0.093,
    "h": 263
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#12295A
secondary
#937535
accent
#B33EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #12295A

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

Preview Lab → · Contrast checker → · Palette generator →

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