#0F2058#0F2058

#0F2058 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.104 H 266.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#0F2058
RGBrgb(15, 32, 88)
HSLhsl(226, 71%, 20%)
HSVhsv(226, 83%, 35%)
CMYKcmyk(83%, 63.6%, 0%, 65.5%)
CIE-LABlab(14.62, 16.21, -35.78)
CIE-LCHlch(14.62, 39.28, 294.38°)
OKLaboklab(27% -0.0065 -0.1033)
OKLCHoklch(27% 0.104 266.4)
XYZxyz(2.4743, 1.8389, 9.4552)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2058 #58470F
analogous
#0F4558 #0F2058 #220F58
triadic
#0F2058 #580F20 #20580F
tetradic
#0F2058 #580F45 #58470F #0F5822
square
#0F2058 #580F45 #58470F #0F5822
split-complementary
#0F2058 #58220F #45580F
monochromatic
#040A1A #060D24 #0F2058 #18338C #2146C1

Accessibility & contrast

On white

15.35
#0F2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2058
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2058#FFFFFF#000000##FFFFFF
##0F20581.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002257
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2058;
/* rgb */ color: rgb(15, 32, 88);
/* oklch */ color: oklch(27.0% 0.104 266.4);
Tailwind
colors: {
  custom: {
    50: '#5b5b88',
    500: '#0f2058',
    950: '#000000',
  },
}
SCSS
$custom: #0f2058;
$custom-light: #5b5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2058",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 226.027,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.10353,
    "h": 266.4
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#0F2058
secondary
#927B31
accent
#C43AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2058

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

Preview Lab → · Contrast checker → · Palette generator →

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