#07123C#07123C

#07123C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.082 H 267.0°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#07123C
RGBrgb(7, 18, 60)
HSLhsl(228, 79%, 13%)
HSVhsv(228, 88%, 24%)
CMYKcmyk(88.3%, 70%, 0%, 76.5%)
CIE-LABlab(7.26, 13.49, -28.37)
CIE-LCHlch(7.26, 31.42, 295.43°)
OKLaboklab(20.55% -0.0043 -0.0821)
OKLCHoklch(20.55% 0.082 267)
XYZxyz(1.1193, 0.8039, 4.3703)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07123C #3C3107
analogous
#072C3C #07123C #16073C
triadic
#07123C #3C0712 #123C07
tetradic
#07123C #3C072C #3C3107 #073C16
square
#07123C #3C072C #3C3107 #073C16
split-complementary
#07123C #3C1607 #2C3C07
monochromatic
#03081B #03081B #07123C #0D2273 #1433AA

Accessibility & contrast

On white

18.09
#07123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07123C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07123C#FFFFFF#000000##FFFFFF
##07123C1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07123c;
/* rgb */ color: rgb(7, 18, 60);
/* oklch */ color: oklch(20.6% 0.082 267.0);
Tailwind
colors: {
  custom: {
    50: '#514f72',
    500: '#07123c',
    950: '#000000',
  },
}
SCSS
$custom: #07123c;
$custom-light: #514f72;
$custom-dark: #000000;
JSON
{
  "hex": "#07123c",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 227.547,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20551,
    "c": 0.08224,
    "h": 267
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#07123C
secondary
#7B6923
accent
#CD32F6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #07123C

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

Preview Lab → · Contrast checker → · Palette generator →

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