#122968#122968

#122968 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.114 H 265.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#122968
RGBrgb(18, 41, 104)
HSLhsl(224, 70%, 24%)
HSVhsv(224, 83%, 41%)
CMYKcmyk(82.7%, 60.6%, 0%, 59.2%)
CIE-LABlab(18.86, 16.73, -39.46)
CIE-LCHlch(18.86, 42.86, 292.98°)
OKLaboklab(30.66% -0.0099 -0.1139)
OKLCHoklch(30.66% 0.114 265)
XYZxyz(3.5402, 2.7135, 13.4312)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122968 #685112
analogous
#125468 #122968 #261268
triadic
#122968 #681229 #296812
tetradic
#122968 #681254 #685112 #126826
square
#122968 #681254 #685112 #126826
split-complementary
#122968 #682612 #546812
monochromatic
#050A1A #091434 #122968 #1B3E9C #2452D0

Accessibility & contrast

On white

13.61
#122968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122968
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122968#FFFFFF#000000##FFFFFF
##1229681.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122968;
/* rgb */ color: rgb(18, 41, 104);
/* oklch */ color: oklch(30.7% 0.114 265.0);
Tailwind
colors: {
  custom: {
    50: '#606294',
    500: '#122968',
    950: '#000000',
  },
}
SCSS
$custom: #122968;
$custom-light: #606294;
$custom-dark: #000000;
JSON
{
  "hex": "#122968",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 104
  },
  "hsl": {
    "h": 223.953,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30663,
    "c": 0.11437,
    "h": 265
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#122968
secondary
#A08336
accent
#BD3BED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122968

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

Preview Lab → · Contrast checker → · Palette generator →

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