#122961#122961

#122961 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.104 H 264.2°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#122961
RGBrgb(18, 41, 97)
HSLhsl(223, 69%, 23%)
HSVhsv(223, 81%, 38%)
CMYKcmyk(81.4%, 57.7%, 0%, 62%)
CIE-LABlab(18.26, 13.75, -35.83)
CIE-LCHlch(18.26, 38.38, 290.99°)
OKLaboklab(30.03% -0.0105 -0.1033)
OKLCHoklch(30.03% 0.104 264.2)
XYZxyz(3.1993, 2.5772, 11.6358)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122961 #614A12
analogous
#125061 #122961 #231261
triadic
#122961 #611229 #296112
tetradic
#122961 #611250 #614A12 #126123
square
#122961 #611250 #614A12 #126123
split-complementary
#122961 #612312 #506112
monochromatic
#050B1A #08132D #122961 #1C3F95 #2555C8

Accessibility & contrast

On white

13.86
#122961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122961
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122961#FFFFFF#000000##FFFFFF
##1229611.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122961;
/* rgb */ color: rgb(18, 41, 97);
/* oklch */ color: oklch(30.0% 0.104 264.2);
Tailwind
colors: {
  custom: {
    50: '#5e628e',
    500: '#122961',
    950: '#000000',
  },
}
SCSS
$custom: #122961;
$custom-light: #5e628e;
$custom-dark: #000000;
JSON
{
  "hex": "#122961",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 97
  },
  "hsl": {
    "h": 222.532,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30028,
    "c": 0.10381,
    "h": 264.2
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#122961
secondary
#997C36
accent
#B93CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122961

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

Preview Lab → · Contrast checker → · Palette generator →

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