#122965#122965

#122965 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.110 H 264.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#122965
RGBrgb(18, 41, 101)
HSLhsl(223, 70%, 23%)
HSVhsv(223, 82%, 40%)
CMYKcmyk(82.2%, 59.4%, 0%, 60.4%)
CIE-LABlab(18.60, 15.46, -37.92)
CIE-LCHlch(18.60, 40.95, 292.18°)
OKLaboklab(30.39% -0.0101 -0.1094)
OKLCHoklch(30.39% 0.11 264.7)
XYZxyz(3.3905, 2.6537, 12.6429)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122965 #654E12
analogous
#125265 #122965 #241265
triadic
#122965 #651229 #296512
tetradic
#122965 #651252 #654E12 #126524
square
#122965 #651252 #654E12 #126524
split-complementary
#122965 #652412 #526512
monochromatic
#050B1A #091431 #122965 #1B3E99 #2553CD

Accessibility & contrast

On white

13.72
#122965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122965
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122965#FFFFFF#000000##FFFFFF
##1229651.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122965;
/* rgb */ color: rgb(18, 41, 101);
/* oklch */ color: oklch(30.4% 0.110 264.7);
Tailwind
colors: {
  custom: {
    50: '#5f6291',
    500: '#122965',
    950: '#000000',
  },
}
SCSS
$custom: #122965;
$custom-light: #5f6291;
$custom-dark: #000000;
JSON
{
  "hex": "#122965",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 223.373,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30388,
    "c": 0.10988,
    "h": 264.7
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#122965
secondary
#9D8036
accent
#BB3BED
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #122965

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

Preview Lab → · Contrast checker → · Palette generator →

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