#070235#070235

#070235 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 16.2% C 0.095 H 274.6°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#070235
RGBrgb(7, 2, 53)
HSLhsl(246, 93%, 11%)
HSVhsv(246, 96%, 21%)
CMYKcmyk(86.8%, 96.2%, 0%, 79.2%)
CIE-LABlab(3.12, 17.34, -29.98)
CIE-LCHlch(3.12, 34.63, 300.04°)
OKLaboklab(16.21% 0.0076 -0.0945)
OKLCHoklch(16.21% 0.095 274.6)
XYZxyz(0.7517, 0.3456, 3.3946)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070235 #303502
analogous
#021635 #070235 #200235
triadic
#070235 #350702 #023507
tetradic
#070235 #350216 #303502 #023520
square
#070235 #350216 #303502 #023520
split-complementary
#070235 #352002 #163502
monochromatic
#04011D #04011D #070235 #0F0470 #1706AB

Accessibility & contrast

On white

19.64
#070235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#070235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070235
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070235#FFFFFF#000000##FFFFFF
##0702351.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E36
Deuteranopia (green-blind)
#000934
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #070235;
/* rgb */ color: rgb(7, 2, 53);
/* oklch */ color: oklch(16.2% 0.095 274.6);
Tailwind
colors: {
  custom: {
    50: '#4d476d',
    500: '#070235',
    950: '#000000',
  },
}
SCSS
$custom: #070235;
$custom-light: #4d476d;
$custom-dark: #000000;
JSON
{
  "hex": "#070235",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 245.882,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16212,
    "c": 0.09483,
    "h": 274.6
  },
  "luminance": 0.00346
}

Semantic roles & 50–950 ramp

primary
#070235
secondary
#70791A
accent
#FF29EA
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #070235

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

Preview Lab → · Contrast checker → · Palette generator →

#070235 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva