#060230#060230

#060230 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.4% C 0.088 H 274.8°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#060230
RGBrgb(6, 2, 48)
HSLhsl(245, 92%, 10%)
HSVhsv(245, 96%, 19%)
CMYKcmyk(87.5%, 95.8%, 0%, 81.2%)
CIE-LABlab(2.67, 14.31, -26.98)
CIE-LCHlch(2.67, 30.54, 297.93°)
OKLaboklab(15.35% 0.0074 -0.0881)
OKLCHoklch(15.35% 0.088 274.8)
XYZxyz(0.6301, 0.2955, 2.8196)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060230 #2C3002
analogous
#021530 #060230 #1D0230
triadic
#060230 #300602 #023006
tetradic
#060230 #300215 #2C3002 #02301D
square
#060230 #300215 #2C3002 #02301D
split-complementary
#060230 #301D02 #153002
monochromatic
#04011D #04011D #060230 #0D046B #1507A6

Accessibility & contrast

On white

19.83
#060230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#060230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060230
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060230#FFFFFF#000000##FFFFFF
##0602301.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C31
Deuteranopia (green-blind)
#00082F
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #060230;
/* rgb */ color: rgb(6, 2, 48);
/* oklch */ color: oklch(15.4% 0.088 274.8);
Tailwind
colors: {
  custom: {
    50: '#4b4769',
    500: '#060230',
    950: '#000000',
  },
}
SCSS
$custom: #060230;
$custom-light: #4b4769;
$custom-dark: #000000;
JSON
{
  "hex": "#060230",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 245.217,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15354,
    "c": 0.08837,
    "h": 274.8
  },
  "luminance": 0.00296
}

Semantic roles & 50–950 ramp

primary
#060230
secondary
#6D7519
accent
#FF29EC
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #060230

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

Preview Lab → · Contrast checker → · Palette generator →

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