#0A0235#0A0235

#0A0235 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.094 H 278.4°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#0A0235
RGBrgb(10, 2, 53)
HSLhsl(249, 93%, 11%)
HSVhsv(249, 96%, 21%)
CMYKcmyk(81.1%, 96.2%, 0%, 79.2%)
CIE-LABlab(3.30, 18.13, -29.69)
CIE-LCHlch(3.30, 34.78, 301.41°)
OKLaboklab(16.51% 0.0136 -0.0929)
OKLCHoklch(16.51% 0.094 278.4)
XYZxyz(0.7893, 0.3649, 3.3963)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0235 #2D3502
analogous
#021335 #0A0235 #230235
triadic
#0A0235 #350A02 #02350A
tetradic
#0A0235 #350213 #2D3502 #023523
square
#0A0235 #350213 #2D3502 #023523
split-complementary
#0A0235 #352302 #133502
monochromatic
#06011D #06011D #0A0235 #150470 #2006AB

Accessibility & contrast

On white

19.57
#0A0235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0A0235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0235
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0235#FFFFFF#000000##FFFFFF
##0A02351.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0235;
/* rgb */ color: rgb(10, 2, 53);
/* oklch */ color: oklch(16.5% 0.094 278.4);
Tailwind
colors: {
  custom: {
    50: '#4f476d',
    500: '#0a0235',
    950: '#000000',
  },
}
SCSS
$custom: #0a0235;
$custom-light: #4f476d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0235",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 249.412,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16513,
    "c": 0.09386,
    "h": 278.4
  },
  "luminance": 0.00365
}

Semantic roles & 50–950 ramp

primary
#0A0235
secondary
#6A791A
accent
#FF29DD
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0235

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

Preview Lab → · Contrast checker → · Palette generator →

#0A0235 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva