#123264#123264

#123264 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.096 H 259.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#123264
RGBrgb(18, 50, 100)
HSLhsl(217, 69%, 23%)
HSVhsv(217, 82%, 39%)
CMYKcmyk(82%, 50%, 0%, 60.8%)
CIE-LABlab(21.32, 8.44, -32.87)
CIE-LCHlch(21.32, 33.93, 284.41°)
OKLaboklab(32.43% -0.018 -0.0944)
OKLCHoklch(32.43% 0.096 259.2)
XYZxyz(3.6895, 3.3295, 12.5023)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123264 #644412
analogous
#125B64 #123264 #1B1264
triadic
#123264 #641232 #326412
tetradic
#123264 #64125B #644412 #12641B
square
#123264 #64125B #644412 #12641B
split-complementary
#123264 #641B12 #5B6412
monochromatic
#050D1A #091830 #123264 #1B4C98 #2566CC

Accessibility & contrast

On white

12.61
#123264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#123264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123264
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123264#FFFFFF#000000##FFFFFF
##1232641.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173766
Deuteranopia (green-blind)
#023063
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123264;
/* rgb */ color: rgb(18, 50, 100);
/* oklch */ color: oklch(32.4% 0.096 259.2);
Tailwind
colors: {
  custom: {
    50: '#5e6990',
    500: '#123264',
    950: '#000000',
  },
}
SCSS
$custom: #123264;
$custom-light: #5e6990;
$custom-dark: #000000;
JSON
{
  "hex": "#123264",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 100
  },
  "hsl": {
    "h": 216.585,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32433,
    "c": 0.09606,
    "h": 259.2
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#123264
secondary
#9C7436
accent
#A73BEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #123264

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

Preview Lab → · Contrast checker → · Palette generator →

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