#07123D#07123D

#07123D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.084 H 267.1°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#07123D
RGBrgb(7, 18, 61)
HSLhsl(228, 79%, 13%)
HSVhsv(228, 89%, 24%)
CMYKcmyk(88.5%, 70.5%, 0%, 76.1%)
CIE-LABlab(7.36, 13.97, -28.93)
CIE-LCHlch(7.36, 32.13, 295.77°)
OKLaboklab(20.66% -0.0043 -0.0837)
OKLCHoklch(20.66% 0.084 267.1)
XYZxyz(1.1459, 0.8146, 4.5108)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07123D #3D3207
analogous
#072D3D #07123D #17073D
triadic
#07123D #3D0712 #123D07
tetradic
#07123D #3D072D #3D3207 #073D17
square
#07123D #3D072D #3D3207 #073D17
split-complementary
#07123D #3D1707 #2D3D07
monochromatic
#03081B #03081B #07123D #0D2274 #1432AB

Accessibility & contrast

On white

18.06
#07123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07123D
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07123D#FFFFFF#000000##FFFFFF
##07123D1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07123d;
/* rgb */ color: rgb(7, 18, 61);
/* oklch */ color: oklch(20.7% 0.084 267.1);
Tailwind
colors: {
  custom: {
    50: '#514f73',
    500: '#07123d',
    950: '#000000',
  },
}
SCSS
$custom: #07123d;
$custom-light: #514f73;
$custom-dark: #000000;
JSON
{
  "hex": "#07123d",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 227.778,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20658,
    "c": 0.08385,
    "h": 267.1
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#07123D
secondary
#7C6A23
accent
#CE32F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #07123D

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

Preview Lab → · Contrast checker → · Palette generator →

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