#060235#060235

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

Color values

HEX#060235
RGBrgb(6, 2, 53)
HSLhsl(245, 93%, 11%)
HSVhsv(245, 96%, 21%)
CMYKcmyk(88.7%, 96.2%, 0%, 79.2%)
CIE-LABlab(3.06, 17.08, -30.08)
CIE-LCHlch(3.06, 34.59, 299.59°)
OKLaboklab(16.11% 0.0055 -0.0951)
OKLCHoklch(16.11% 0.095 273.3)
XYZxyz(0.7392, 0.3391, 3.3940)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060235 #313502
analogous
#021735 #060235 #1F0235
triadic
#060235 #350602 #023506
tetradic
#060235 #350217 #313502 #02351F
square
#060235 #350217 #313502 #02351F
split-complementary
#060235 #351F02 #173502
monochromatic
#03011D #03011D #060235 #0D0470 #1306AB

Accessibility & contrast

On white

19.67
#060235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060235
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060235#FFFFFF#000000##FFFFFF
##0602351.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.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: #060235;
/* rgb */ color: rgb(6, 2, 53);
/* oklch */ color: oklch(16.1% 0.095 273.3);
Tailwind
colors: {
  custom: {
    50: '#4d476d',
    500: '#060235',
    950: '#000000',
  },
}
SCSS
$custom: #060235;
$custom-light: #4d476d;
$custom-dark: #000000;
JSON
{
  "hex": "#060235",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 244.706,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16109,
    "c": 0.09524,
    "h": 273.3
  },
  "luminance": 0.00339
}

Semantic roles & 50–950 ramp

primary
#060235
secondary
#72791A
accent
#FF29EE
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #060235

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

Preview Lab → · Contrast checker → · Palette generator →

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