#123268#123268

#123268 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.102 H 260.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#123268
RGBrgb(18, 50, 104)
HSLhsl(218, 70%, 24%)
HSVhsv(218, 83%, 41%)
CMYKcmyk(82.7%, 51.9%, 0%, 59.2%)
CIE-LABlab(21.61, 10.16, -35.00)
CIE-LCHlch(21.61, 36.44, 286.18°)
OKLaboklab(32.75% -0.0173 -0.1006)
OKLCHoklch(32.75% 0.102 260.3)
XYZxyz(3.8878, 3.4088, 13.5471)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123268 #684812
analogous
#125D68 #123268 #1D1268
triadic
#123268 #681232 #326812
tetradic
#123268 #68125D #684812 #12681D
square
#123268 #68125D #684812 #12681D
split-complementary
#123268 #681D12 #5D6812
monochromatic
#050D1A #091934 #123268 #1B4B9C #2464D0

Accessibility & contrast

On white

12.49
#123268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#123268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123268
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123268#FFFFFF#000000##FFFFFF
##1232681.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12386A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123268;
/* rgb */ color: rgb(18, 50, 104);
/* oklch */ color: oklch(32.8% 0.102 260.3);
Tailwind
colors: {
  custom: {
    50: '#5f6993',
    500: '#123268',
    950: '#000000',
  },
}
SCSS
$custom: #123268;
$custom-light: #5f6993;
$custom-dark: #000000;
JSON
{
  "hex": "#123268",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 104
  },
  "hsl": {
    "h": 217.674,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32754,
    "c": 0.1021,
    "h": 260.3
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#123268
secondary
#A07836
accent
#AB3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #123268

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

Preview Lab → · Contrast checker → · Palette generator →

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