#123890#123890

#123890 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.152 H 263.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#123890
RGBrgb(18, 56, 144)
HSLhsl(222, 78%, 32%)
HSVhsv(222, 88%, 56%)
CMYKcmyk(87.5%, 61.1%, 0%, 43.5%)
CIE-LABlab(26.65, 22.67, -52.10)
CIE-LCHlch(26.65, 56.82, 293.52°)
OKLaboklab(37.59% -0.0178 -0.1508)
OKLCHoklch(37.59% 0.152 263.3)
XYZxyz(6.6959, 4.9697, 26.9865)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123890 #906A12
analogous
#127790 #123890 #2B1290
triadic
#123890 #901238 #389012
tetradic
#123890 #901277 #906A12 #12902B
square
#123890 #901277 #906A12 #12902B
split-complementary
#123890 #902B12 #779012
monochromatic
#040E23 #0B235A #123890 #194DC6 #366BE6

Accessibility & contrast

On white

10.53
#123890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#123890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123890
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123890#FFFFFF#000000##FFFFFF
##1238901.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #123890;
/* rgb */ color: rgb(18, 56, 144);
/* oklch */ color: oklch(37.6% 0.152 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a6eb1',
    500: '#123890',
    950: '#000000',
  },
}
SCSS
$custom: #123890;
$custom-light: #6a6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#123890",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 221.905,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.15181,
    "h": 263.3
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#123890
secondary
#C49A3A
accent
#BA34F4
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #123890

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

Preview Lab → · Contrast checker → · Palette generator →

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