#124081#124081

#124081 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.1% C 0.120 H 258.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#124081
RGBrgb(18, 64, 129)
HSLhsl(215, 76%, 29%)
HSVhsv(215, 86%, 51%)
CMYKcmyk(86%, 50.4%, 0%, 49.4%)
CIE-LABlab(27.79, 10.82, -40.94)
CIE-LCHlch(27.79, 42.34, 284.81°)
OKLaboklab(38.08% -0.0247 -0.1178)
OKLCHoklch(38.08% 0.12 258.2)
XYZxyz(6.0438, 5.3796, 21.4845)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124081 #815312
analogous
#127881 #124081 #1C1281
triadic
#124081 #811240 #408112
tetradic
#124081 #811278 #815312 #12811C
square
#124081 #811278 #815312 #12811C
split-complementary
#124081 #811C12 #788112
monochromatic
#040D1B #0B254B #124081 #195BB7 #2C77E2

Accessibility & contrast

On white

10.12
#124081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124081
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124081#FFFFFF#000000##FFFFFF
##1240811.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194783
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124081;
/* rgb */ color: rgb(18, 64, 129);
/* oklch */ color: oklch(38.1% 0.120 258.2);
Tailwind
colors: {
  custom: {
    50: '#6574a6',
    500: '#124081',
    950: '#000000',
  },
}
SCSS
$custom: #124081;
$custom-light: #6574a6;
$custom-dark: #000000;
JSON
{
  "hex": "#124081",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 215.135,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38083,
    "c": 0.12035,
    "h": 258.2
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#124081
secondary
#B78238
accent
#A436F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #124081

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

Preview Lab → · Contrast checker → · Palette generator →

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