#122861#122861

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

Color values

HEX#122861
RGBrgb(18, 40, 97)
HSLhsl(223, 69%, 23%)
HSVhsv(223, 81%, 38%)
CMYKcmyk(81.4%, 58.8%, 0%, 62%)
CIE-LABlab(17.96, 14.49, -36.33)
CIE-LCHlch(17.96, 39.11, 291.74°)
OKLaboklab(29.8% -0.0096 -0.1047)
OKLCHoklch(29.8% 0.105 264.7)
XYZxyz(3.1652, 2.5089, 11.6244)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122861 #614B12
analogous
#125061 #122861 #231261
triadic
#122861 #611228 #286112
tetradic
#122861 #611250 #614B12 #126123
square
#122861 #611250 #614B12 #126123
split-complementary
#122861 #612312 #506112
monochromatic
#050B1A #08132D #122861 #1C3D95 #2553C8

Accessibility & contrast

On white

13.98
#122861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122861
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122861#FFFFFF#000000##FFFFFF
##1228611.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122861;
/* rgb */ color: rgb(18, 40, 97);
/* oklch */ color: oklch(29.8% 0.105 264.7);
Tailwind
colors: {
  custom: {
    50: '#5e618e',
    500: '#122861',
    950: '#000000',
  },
}
SCSS
$custom: #122861;
$custom-light: #5e618e;
$custom-dark: #000000;
JSON
{
  "hex": "#122861",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 223.291,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29798,
    "c": 0.10519,
    "h": 264.7
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#122861
secondary
#997D36
accent
#BB3CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122861

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

Preview Lab → · Contrast checker → · Palette generator →

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