#0F2E5E#0F2E5E

#0F2E5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.093 H 259.1°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#0F2E5E
RGBrgb(15, 46, 94)
HSLhsl(216, 72%, 21%)
HSVhsv(216, 84%, 37%)
CMYKcmyk(84%, 51.1%, 0%, 63.1%)
CIE-LABlab(19.49, 8.38, -31.88)
CIE-LCHlch(19.49, 32.97, 284.72°)
OKLaboklab(30.86% -0.0176 -0.0916)
OKLCHoklch(30.86% 0.093 259.1)
XYZxyz(3.1936, 2.8633, 10.9719)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E5E #5E3F0F
analogous
#0F565E #0F2E5E #180F5E
triadic
#0F2E5E #5E0F2E #2E5E0F
tetradic
#0F2E5E #5E0F56 #5E3F0F #0F5E18
square
#0F2E5E #5E0F56 #5E3F0F #0F5E18
split-complementary
#0F2E5E #5E180F #565E0F
monochromatic
#040D1A #071429 #0F2E5E #174893 #2062C8

Accessibility & contrast

On white

13.35
#0F2E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E5E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E5E#FFFFFF#000000##FFFFFF
##0F2E5E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2e5e;
/* rgb */ color: rgb(15, 46, 94);
/* oklch */ color: oklch(30.9% 0.093 259.1);
Tailwind
colors: {
  custom: {
    50: '#5c668c',
    500: '#0f2e5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e5e;
$custom-light: #5c668c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e5e",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 216.456,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30855,
    "c": 0.09327,
    "h": 259.1
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#0F2E5E
secondary
#976F31
accent
#A839EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0F2E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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