#0F2D5D#0F2D5D

#0F2D5D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.093 H 259.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#0F2D5D
RGBrgb(15, 45, 93)
HSLhsl(217, 72%, 21%)
HSVhsv(217, 84%, 36%)
CMYKcmyk(83.9%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.09, 8.68, -31.86)
CIE-LCHlch(19.09, 33.02, 285.23°)
OKLaboklab(30.53% -0.0169 -0.0916)
OKLCHoklch(30.53% 0.093 259.6)
XYZxyz(3.1105, 2.7683, 10.7242)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D5D #5D3F0F
analogous
#0F545D #0F2D5D #180F5D
triadic
#0F2D5D #5D0F2D #2D5D0F
tetradic
#0F2D5D #5D0F54 #5D3F0F #0F5D18
square
#0F2D5D #5D0F54 #5D3F0F #0F5D18
split-complementary
#0F2D5D #5D180F #545D0F
monochromatic
#040D1A #061328 #0F2D5D #174692 #2060C6

Accessibility & contrast

On white

13.52
#0F2D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F2D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D5D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D5D#FFFFFF#000000##FFFFFF
##0F2D5D1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2d5d;
/* rgb */ color: rgb(15, 45, 93);
/* oklch */ color: oklch(30.5% 0.093 259.6);
Tailwind
colors: {
  custom: {
    50: '#5b658b',
    500: '#0f2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d5d;
$custom-light: #5b658b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d5d",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 216.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.0931,
    "h": 259.6
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#0F2D5D
secondary
#967031
accent
#A939EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D

Preview Lab

Preview with #0F2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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