#123260#123260

#123260 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.1% C 0.090 H 258.0°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#123260
RGBrgb(18, 50, 96)
HSLhsl(215, 68%, 22%)
HSVhsv(215, 81%, 38%)
CMYKcmyk(81.3%, 47.9%, 0%, 62.4%)
CIE-LABlab(21.03, 6.73, -30.71)
CIE-LCHlch(21.03, 31.44, 282.36°)
OKLaboklab(32.12% -0.0188 -0.088)
OKLCHoklch(32.12% 0.09 258)
XYZxyz(3.5006, 3.2539, 11.5076)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123260 #604012
analogous
#125960 #123260 #191260
triadic
#123260 #601232 #326012
tetradic
#123260 #601259 #604012 #126019
square
#123260 #601259 #604012 #126019
split-complementary
#123260 #601912 #596012
monochromatic
#050D1A #08172C #123260 #1C4D94 #2568C7

Accessibility & contrast

On white

12.72
#123260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#123260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123260
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123260#FFFFFF#000000##FFFFFF
##1232601.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3662
Deuteranopia (green-blind)
#0A2F5F
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123260;
/* rgb */ color: rgb(18, 50, 96);
/* oklch */ color: oklch(32.1% 0.090 258.0);
Tailwind
colors: {
  custom: {
    50: '#5d698d',
    500: '#123260',
    950: '#000000',
  },
}
SCSS
$custom: #123260;
$custom-light: #5d698d;
$custom-dark: #000000;
JSON
{
  "hex": "#123260",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 96
  },
  "hsl": {
    "h": 215.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32123,
    "c": 0.08999,
    "h": 258
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#123260
secondary
#987036
accent
#A43DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123260

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

Preview Lab → · Contrast checker → · Palette generator →

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