#12265A#12265A

#12265A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.097 H 265.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#12265A
RGBrgb(18, 38, 90)
HSLhsl(223, 67%, 21%)
HSVhsv(223, 80%, 35%)
CMYKcmyk(80%, 57.8%, 0%, 64.7%)
CIE-LABlab(16.76, 12.98, -33.63)
CIE-LCHlch(16.76, 36.04, 291.10°)
OKLaboklab(28.71% -0.0085 -0.0968)
OKLCHoklch(28.71% 0.097 265)
XYZxyz(2.7874, 2.2527, 9.9588)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12265A #5A4612
analogous
#124A5A #12265A #22125A
triadic
#12265A #5A1226 #265A12
tetradic
#12265A #5A124A #5A4612 #125A22
square
#12265A #5A124A #5A4612 #125A22
split-complementary
#12265A #5A2212 #4A5A12
monochromatic
#050B1A #081027 #12265A #1C3C8D #2651C0

Accessibility & contrast

On white

14.48
#12265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#12265A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12265A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12265A#FFFFFF#000000##FFFFFF
##12265A1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #12265a;
/* rgb */ color: rgb(18, 38, 90);
/* oklch */ color: oklch(28.7% 0.097 265.0);
Tailwind
colors: {
  custom: {
    50: '#5c5f89',
    500: '#12265a',
    950: '#000000',
  },
}
SCSS
$custom: #12265a;
$custom-light: #5c5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#12265a",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 223.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28708,
    "c": 0.09723,
    "h": 265
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#12265A
secondary
#937935
accent
#BA3EEA
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #12265A

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

Preview Lab → · Contrast checker → · Palette generator →

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