#07123B#07123B

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

Color values

HEX#07123B
RGBrgb(7, 18, 59)
HSLhsl(227, 79%, 13%)
HSVhsv(227, 88%, 23%)
CMYKcmyk(88.1%, 69.5%, 0%, 76.9%)
CIE-LABlab(7.17, 13.00, -27.81)
CIE-LCHlch(7.17, 30.70, 295.06°)
OKLaboklab(20.44% -0.0043 -0.0805)
OKLCHoklch(20.44% 0.081 267)
XYZxyz(1.0931, 0.7934, 4.2324)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07123B #3B3007
analogous
#072C3B #07123B #16073B
triadic
#07123B #3B0712 #123B07
tetradic
#07123B #3B072C #3B3007 #073B16
square
#07123B #3B072C #3B3007 #073B16
split-complementary
#07123B #3B1607 #2C3B07
monochromatic
#03081B #03081B #07123B #0D2372 #1433A8

Accessibility & contrast

On white

18.12
#07123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07123B
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07123B#FFFFFF#000000##FFFFFF
##07123B1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07123b;
/* rgb */ color: rgb(7, 18, 59);
/* oklch */ color: oklch(20.4% 0.081 267.0);
Tailwind
colors: {
  custom: {
    50: '#504f71',
    500: '#07123b',
    950: '#000000',
  },
}
SCSS
$custom: #07123b;
$custom-light: #504f71;
$custom-dark: #000000;
JSON
{
  "hex": "#07123b",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 227.308,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20444,
    "c": 0.08062,
    "h": 267
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#07123B
secondary
#7A6823
accent
#CC33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #07123B

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

Preview Lab → · Contrast checker → · Palette generator →

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