#122869#122869

#122869 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.117 H 265.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#122869
RGBrgb(18, 40, 105)
HSLhsl(225, 71%, 24%)
HSVhsv(225, 83%, 41%)
CMYKcmyk(82.9%, 61.9%, 0%, 58.8%)
CIE-LABlab(18.65, 17.88, -40.45)
CIE-LCHlch(18.65, 44.22, 293.85°)
OKLaboklab(30.54% -0.0092 -0.1169)
OKLCHoklch(30.54% 0.117 265.5)
XYZxyz(3.5571, 2.6657, 13.6889)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122869 #695312
analogous
#125469 #122869 #281269
triadic
#122869 #691228 #286912
tetradic
#122869 #691254 #695312 #126928
square
#122869 #691254 #695312 #126928
split-complementary
#122869 #692812 #546912
monochromatic
#040A1A #091435 #122869 #1B3C9D #2450D1

Accessibility & contrast

On white

13.70
#122869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122869
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122869#FFFFFF#000000##FFFFFF
##1228691.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122869;
/* rgb */ color: rgb(18, 40, 105);
/* oklch */ color: oklch(30.5% 0.117 265.5);
Tailwind
colors: {
  custom: {
    50: '#606194',
    500: '#122869',
    950: '#000000',
  },
}
SCSS
$custom: #122869;
$custom-light: #606194;
$custom-dark: #000000;
JSON
{
  "hex": "#122869",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 105
  },
  "hsl": {
    "h": 224.828,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30536,
    "c": 0.11722,
    "h": 265.5
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#122869
secondary
#A18636
accent
#C03AED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122869

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

Preview Lab → · Contrast checker → · Palette generator →

#122869 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva