#0F1E5C#0F1E5C

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

Color values

HEX#0F1E5C
RGBrgb(15, 30, 92)
HSLhsl(228, 72%, 21%)
HSVhsv(228, 84%, 36%)
CMYKcmyk(83.7%, 67.4%, 0%, 63.9%)
CIE-LABlab(14.41, 19.41, -38.79)
CIE-LCHlch(14.41, 43.38, 296.58°)
OKLaboklab(26.97% -0.005 -0.1122)
OKLCHoklch(26.97% 0.112 267.4)
XYZxyz(2.5924, 1.8025, 10.3344)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E5C #5C4D0F
analogous
#0F445C #0F1E5C #260F5C
triadic
#0F1E5C #5C0F1E #1E5C0F
tetradic
#0F1E5C #5C0F44 #5C4D0F #0F5C26
square
#0F1E5C #5C0F44 #5C4D0F #0F5C26
split-complementary
#0F1E5C #5C260F #445C0F
monochromatic
#04091A #060D27 #0F1E5C #182F91 #2040C5

Accessibility & contrast

On white

15.43
#0F1E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F1E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E5C
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E5C#FFFFFF#000000##FFFFFF
##0F1E5C1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1e5c;
/* rgb */ color: rgb(15, 30, 92);
/* oklch */ color: oklch(27.0% 0.112 267.4);
Tailwind
colors: {
  custom: {
    50: '#5c598b',
    500: '#0f1e5c',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e5c;
$custom-light: #5c598b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e5c",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 228.312,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2697,
    "c": 0.11231,
    "h": 267.4
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#0F1E5C
secondary
#958231
accent
#CB39EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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