#123790#123790

#123790 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.153 H 263.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#123790
RGBrgb(18, 55, 144)
HSLhsl(222, 78%, 32%)
HSVhsv(222, 88%, 56%)
CMYKcmyk(87.5%, 61.8%, 0%, 43.5%)
CIE-LABlab(26.37, 23.37, -52.55)
CIE-LCHlch(26.37, 57.51, 293.98°)
OKLaboklab(37.39% -0.0172 -0.1521)
OKLCHoklch(37.39% 0.153 263.5)
XYZxyz(6.6479, 4.8738, 26.9705)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123790 #906B12
analogous
#127690 #123790 #2C1290
triadic
#123790 #901237 #379012
tetradic
#123790 #901276 #906B12 #12902C
square
#123790 #901276 #906B12 #12902C
split-complementary
#123790 #902C12 #769012
monochromatic
#040D23 #0B225A #123790 #194CC6 #366AE6

Accessibility & contrast

On white

10.63
#123790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#123790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123790
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123790#FFFFFF#000000##FFFFFF
##1237901.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123790;
/* rgb */ color: rgb(18, 55, 144);
/* oklch */ color: oklch(37.4% 0.153 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a6db1',
    500: '#123790',
    950: '#000000',
  },
}
SCSS
$custom: #123790;
$custom-light: #6a6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#123790",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 222.381,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.15308,
    "h": 263.5
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#123790
secondary
#C49B3A
accent
#BC34F4
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #123790

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

Preview Lab → · Contrast checker → · Palette generator →

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