#07123A#07123A

#07123A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.079 H 266.9°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#07123A
RGBrgb(7, 18, 58)
HSLhsl(227, 78%, 13%)
HSVhsv(227, 88%, 23%)
CMYKcmyk(87.9%, 69%, 0%, 77.3%)
CIE-LABlab(7.07, 12.51, -27.24)
CIE-LCHlch(7.07, 29.97, 294.67°)
OKLaboklab(20.34% -0.0043 -0.0789)
OKLCHoklch(20.34% 0.079 266.9)
XYZxyz(1.0674, 0.7832, 4.0971)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07123A #3A2F07
analogous
#072B3A #07123A #15073A
triadic
#07123A #3A0712 #123A07
tetradic
#07123A #3A072B #3A2F07 #073A15
square
#07123A #3A072B #3A2F07 #073A15
split-complementary
#07123A #3A1507 #2B3A07
monochromatic
#03081B #03081B #07123A #0E2371 #1434A7

Accessibility & contrast

On white

18.16
#07123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#07123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07123A
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07123A#FFFFFF#000000##FFFFFF
##07123A1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07123a;
/* rgb */ color: rgb(7, 18, 58);
/* oklch */ color: oklch(20.3% 0.079 266.9);
Tailwind
colors: {
  custom: {
    50: '#504f71',
    500: '#07123a',
    950: '#000000',
  },
}
SCSS
$custom: #07123a;
$custom-light: #504f71;
$custom-dark: #000000;
JSON
{
  "hex": "#07123a",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 227.059,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20338,
    "c": 0.07899,
    "h": 266.9
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#07123A
secondary
#796723
accent
#CB33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #07123A

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

Preview Lab → · Contrast checker → · Palette generator →

#07123A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva