#122568#122568

#122568 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.120 H 266.6°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#122568
RGBrgb(18, 37, 104)
HSLhsl(227, 70%, 24%)
HSVhsv(227, 83%, 41%)
CMYKcmyk(82.7%, 64.4%, 0%, 59.2%)
CIE-LABlab(17.69, 19.65, -41.36)
CIE-LCHlch(17.69, 45.79, 295.42°)
OKLaboklab(29.79% -0.0071 -0.1196)
OKLCHoklch(29.79% 0.12 266.6)
XYZxyz(3.4088, 2.4508, 13.3874)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122568 #685512
analogous
#125068 #122568 #2A1268
triadic
#122568 #681225 #256812
tetradic
#122568 #681250 #685512 #12682A
square
#122568 #681250 #685512 #12682A
split-complementary
#122568 #682A12 #506812
monochromatic
#05091A #091234 #122568 #1B389C #244AD0

Accessibility & contrast

On white

14.09
#122568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##122568#FFFFFF#000000##FFFFFF
##1225681.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)
#002F6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122568;
/* rgb */ color: rgb(18, 37, 104);
/* oklch */ color: oklch(29.8% 0.120 266.6);
Tailwind
colors: {
  custom: {
    50: '#605f94',
    500: '#122568',
    950: '#000000',
  },
}
SCSS
$custom: #122568;
$custom-light: #605f94;
$custom-dark: #000000;
JSON
{
  "hex": "#122568",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 226.744,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29794,
    "c": 0.11978,
    "h": 266.6
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#122568
secondary
#A08836
accent
#C63BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122568

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

Preview Lab → · Contrast checker → · Palette generator →

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