#124190#124190

#124190 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.140 H 260.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#124190
RGBrgb(18, 65, 144)
HSLhsl(218, 78%, 32%)
HSVhsv(218, 88%, 56%)
CMYKcmyk(87.5%, 54.9%, 0%, 43.5%)
CIE-LABlab(29.21, 16.40, -47.92)
CIE-LCHlch(29.21, 50.65, 288.89°)
OKLaboklab(39.53% -0.0233 -0.1383)
OKLCHoklch(39.53% 0.14 260.4)
XYZxyz(7.1720, 5.9219, 27.1452)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124190 #906112
analogous
#128090 #124190 #221290
triadic
#124190 #901241 #419012
tetradic
#124190 #901280 #906112 #129022
square
#124190 #901280 #906112 #129022
split-complementary
#124190 #902212 #809012
monochromatic
#041023 #0B285A #124190 #195AC6 #3678E6

Accessibility & contrast

On white

9.61
#124190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124190
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124190#FFFFFF#000000##FFFFFF
##1241901.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124190;
/* rgb */ color: rgb(18, 65, 144);
/* oklch */ color: oklch(39.5% 0.140 260.4);
Tailwind
colors: {
  custom: {
    50: '#6974b1',
    500: '#124190',
    950: '#000000',
  },
}
SCSS
$custom: #124190;
$custom-light: #6974b1;
$custom-dark: #000000;
JSON
{
  "hex": "#124190",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 217.619,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.14028,
    "h": 260.4
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#124190
secondary
#C4903A
accent
#AC34F4
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #124190

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

Preview Lab → · Contrast checker → · Palette generator →

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