#122A65#122A65

#122A65 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.108 H 264.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#122A65
RGBrgb(18, 42, 101)
HSLhsl(223, 70%, 23%)
HSVhsv(223, 82%, 40%)
CMYKcmyk(82.2%, 58.4%, 0%, 60.4%)
CIE-LABlab(18.90, 14.72, -37.43)
CIE-LCHlch(18.90, 40.22, 291.47°)
OKLaboklab(30.62% -0.0109 -0.1079)
OKLCHoklch(30.62% 0.109 264.2)
XYZxyz(3.4255, 2.7237, 12.6546)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A65 #654D12
analogous
#125365 #122A65 #241265
triadic
#122A65 #65122A #2A6512
tetradic
#122A65 #651253 #654D12 #126524
square
#122A65 #651253 #654D12 #126524
split-complementary
#122A65 #652412 #536512
monochromatic
#050B1A #091431 #122A65 #1B4099 #2555CD

Accessibility & contrast

On white

13.59
#122A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A65
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A65#FFFFFF#000000##FFFFFF
##122A651.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122a65;
/* rgb */ color: rgb(18, 42, 101);
/* oklch */ color: oklch(30.6% 0.108 264.2);
Tailwind
colors: {
  custom: {
    50: '#5f6391',
    500: '#122a65',
    950: '#000000',
  },
}
SCSS
$custom: #122a65;
$custom-light: #5f6391;
$custom-dark: #000000;
JSON
{
  "hex": "#122a65",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 222.651,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30615,
    "c": 0.1085,
    "h": 264.2
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#122A65
secondary
#9D7F36
accent
#B93BED
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #122A65

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

Preview Lab → · Contrast checker → · Palette generator →

#122A65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva