#123770#123770

#123770 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.107 H 259.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#123770
RGBrgb(18, 55, 112)
HSLhsl(216, 72%, 25%)
HSVhsv(216, 84%, 44%)
CMYKcmyk(83.9%, 50.9%, 0%, 56.1%)
CIE-LABlab(23.77, 9.98, -36.67)
CIE-LCHlch(23.77, 38.00, 285.22°)
OKLaboklab(34.6% -0.0203 -0.1054)
OKLCHoklch(34.6% 0.107 259.1)
XYZxyz(4.5392, 4.0303, 15.8648)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123770 #704B12
analogous
#126670 #123770 #1C1270
triadic
#123770 #701237 #377012
tetradic
#123770 #701266 #704B12 #12701C
square
#123770 #701266 #704B12 #12701C
split-complementary
#123770 #701C12 #667012
monochromatic
#040D1A #0A1D3B #123770 #1A51A5 #236BD9

Accessibility & contrast

On white

11.63
#123770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123770
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123770#FFFFFF#000000##FFFFFF
##1237701.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123770;
/* rgb */ color: rgb(18, 55, 112);
/* oklch */ color: oklch(34.6% 0.107 259.1);
Tailwind
colors: {
  custom: {
    50: '#616d99',
    500: '#123770',
    950: '#000000',
  },
}
SCSS
$custom: #123770;
$custom-light: #616d99;
$custom-dark: #000000;
JSON
{
  "hex": "#123770",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 216.383,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.346,
    "c": 0.10737,
    "h": 259.1
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#123770
secondary
#A77B37
accent
#A739EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123770

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

Preview Lab → · Contrast checker → · Palette generator →

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