#122962#122962

#122962 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.105 H 264.3°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#122962
RGBrgb(18, 41, 98)
HSLhsl(223, 69%, 23%)
HSVhsv(223, 82%, 38%)
CMYKcmyk(81.6%, 58.2%, 0%, 61.6%)
CIE-LABlab(18.35, 14.18, -36.36)
CIE-LCHlch(18.35, 39.02, 291.30°)
OKLaboklab(30.12% -0.0104 -0.1048)
OKLCHoklch(30.12% 0.105 264.3)
XYZxyz(3.2462, 2.5959, 11.8829)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122962 #624B12
analogous
#125162 #122962 #231262
triadic
#122962 #621229 #296212
tetradic
#122962 #621251 #624B12 #126223
square
#122962 #621251 #624B12 #126223
split-complementary
#122962 #622312 #516212
monochromatic
#050B1A #09132E #122962 #1B3F96 #2554C9

Accessibility & contrast

On white

13.82
#122962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122962
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122962#FFFFFF#000000##FFFFFF
##1229621.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122962;
/* rgb */ color: rgb(18, 41, 98);
/* oklch */ color: oklch(30.1% 0.105 264.3);
Tailwind
colors: {
  custom: {
    50: '#5e628f',
    500: '#122962',
    950: '#000000',
  },
}
SCSS
$custom: #122962;
$custom-light: #5e628f;
$custom-dark: #000000;
JSON
{
  "hex": "#122962",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 222.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30117,
    "c": 0.10533,
    "h": 264.3
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#122962
secondary
#9A7D36
accent
#B93CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122962

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

Preview Lab → · Contrast checker → · Palette generator →

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