#0F2D5F#0F2D5F

#0F2D5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.096 H 260.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#0F2D5F
RGBrgb(15, 45, 95)
HSLhsl(218, 73%, 22%)
HSVhsv(218, 84%, 37%)
CMYKcmyk(84.2%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.24, 9.55, -32.94)
CIE-LCHlch(19.24, 34.29, 286.17°)
OKLaboklab(30.69% -0.0165 -0.0947)
OKLCHoklch(30.69% 0.096 260.1)
XYZxyz(3.2002, 2.8042, 11.1969)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D5F #5F410F
analogous
#0F555F #0F2D5F #190F5F
triadic
#0F2D5F #5F0F2D #2D5F0F
tetradic
#0F2D5F #5F0F55 #5F410F #0F5F19
square
#0F2D5F #5F0F55 #5F410F #0F5F19
split-complementary
#0F2D5F #5F190F #555F0F
monochromatic
#040D1A #07142A #0F2D5F #174694 #205FC9

Accessibility & contrast

On white

13.45
#0F2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2D5F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D5F#FFFFFF#000000##FFFFFF
##0F2D5F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3361
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2d5f;
/* rgb */ color: rgb(15, 45, 95);
/* oklch */ color: oklch(30.7% 0.096 260.1);
Tailwind
colors: {
  custom: {
    50: '#5c658d',
    500: '#0f2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d5f;
$custom-light: #5c658d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d5f",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 217.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3069,
    "c": 0.09616,
    "h": 260.1
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#0F2D5F
secondary
#987232
accent
#AB38EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0F2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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