#124090#124090

#124090 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.142 H 260.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#124090
RGBrgb(18, 64, 144)
HSLhsl(218, 78%, 32%)
HSVhsv(218, 88%, 56%)
CMYKcmyk(87.5%, 55.6%, 0%, 43.5%)
CIE-LABlab(28.92, 17.09, -48.39)
CIE-LCHlch(28.92, 51.32, 289.45°)
OKLaboklab(39.31% -0.0227 -0.1397)
OKLCHoklch(39.31% 0.142 260.8)
XYZxyz(7.1151, 5.8081, 27.1262)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124090 #906212
analogous
#127F90 #124090 #231290
triadic
#124090 #901240 #409012
tetradic
#124090 #90127F #906212 #129023
square
#124090 #90127F #906212 #129023
split-complementary
#124090 #902312 #7F9012
monochromatic
#041023 #0B285A #124090 #1958C6 #3677E6

Accessibility & contrast

On white

9.71
#124090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124090
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124090#FFFFFF#000000##FFFFFF
##1240901.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124090;
/* rgb */ color: rgb(18, 64, 144);
/* oklch */ color: oklch(39.3% 0.142 260.8);
Tailwind
colors: {
  custom: {
    50: '#6974b1',
    500: '#124090',
    950: '#000000',
  },
}
SCSS
$custom: #124090;
$custom-light: #6974b1;
$custom-dark: #000000;
JSON
{
  "hex": "#124090",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 218.095,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.14156,
    "h": 260.8
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#124090
secondary
#C4923A
accent
#AE34F4
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #124090

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

Preview Lab → · Contrast checker → · Palette generator →

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