#0F2D5E#0F2D5E

#0F2D5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.095 H 259.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#0F2D5E
RGBrgb(15, 45, 94)
HSLhsl(217, 72%, 21%)
HSVhsv(217, 84%, 37%)
CMYKcmyk(84%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.17, 9.11, -32.40)
CIE-LCHlch(19.17, 33.66, 285.71°)
OKLaboklab(30.61% -0.0167 -0.0931)
OKLCHoklch(30.61% 0.095 259.8)
XYZxyz(3.1550, 2.7861, 10.9590)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D5E #5E400F
analogous
#0F555E #0F2D5E #190F5E
triadic
#0F2D5E #5E0F2D #2D5E0F
tetradic
#0F2D5E #5E0F55 #5E400F #0F5E19
square
#0F2D5E #5E0F55 #5E400F #0F5E19
split-complementary
#0F2D5E #5E190F #555E0F
monochromatic
#040D1A #071429 #0F2D5E #174693 #2060C8

Accessibility & contrast

On white

13.49
#0F2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D5E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D5E#FFFFFF#000000##FFFFFF
##0F2D5E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113260
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2d5e;
/* rgb */ color: rgb(15, 45, 94);
/* oklch */ color: oklch(30.6% 0.095 259.8);
Tailwind
colors: {
  custom: {
    50: '#5c658c',
    500: '#0f2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d5e;
$custom-light: #5c658c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d5e",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 217.215,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30608,
    "c": 0.09463,
    "h": 259.8
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#0F2D5E
secondary
#977131
accent
#AA39EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0F2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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