#07123F#07123F

#07123F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.087 H 267.2°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#07123F
RGBrgb(7, 18, 63)
HSLhsl(228, 80%, 14%)
HSVhsv(228, 89%, 25%)
CMYKcmyk(88.9%, 71.4%, 0%, 75.3%)
CIE-LABlab(7.56, 14.92, -30.04)
CIE-LCHlch(7.56, 33.54, 296.41°)
OKLaboklab(20.88% -0.0043 -0.0869)
OKLCHoklch(20.88% 0.087 267.2)
XYZxyz(1.2008, 0.8365, 4.7998)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07123F #3F3407
analogous
#072E3F #07123F #18073F
triadic
#07123F #3F0712 #123F07
tetradic
#07123F #3F072E #3F3407 #073F18
square
#07123F #3F072E #3F3407 #073F18
split-complementary
#07123F #3F1807 #2E3F07
monochromatic
#03081C #03081C #07123F #0D2276 #1331AD

Accessibility & contrast

On white

17.99
#07123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#07123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07123F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07123F#FFFFFF#000000##FFFFFF
##07123F1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #07123f;
/* rgb */ color: rgb(7, 18, 63);
/* oklch */ color: oklch(20.9% 0.087 267.2);
Tailwind
colors: {
  custom: {
    50: '#524f75',
    500: '#07123f',
    950: '#000000',
  },
}
SCSS
$custom: #07123f;
$custom-light: #524f75;
$custom-dark: #000000;
JSON
{
  "hex": "#07123f",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 228.214,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20876,
    "c": 0.08704,
    "h": 267.2
  },
  "luminance": 0.00837
}

Semantic roles & 50–950 ramp

primary
#07123F
secondary
#7E6C24
accent
#D031F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #07123F

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

Preview Lab → · Contrast checker → · Palette generator →

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