#0F245D#0F245D

#0F245D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.106 H 264.9°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0F245D
RGBrgb(15, 36, 93)
HSLhsl(224, 72%, 21%)
HSVhsv(224, 84%, 36%)
CMYKcmyk(83.9%, 61.3%, 0%, 63.5%)
CIE-LABlab(16.27, 15.37, -36.43)
CIE-LCHlch(16.27, 39.54, 292.88°)
OKLaboklab(28.38% -0.0093 -0.1052)
OKLCHoklch(28.38% 0.106 264.9)
XYZxyz(2.8030, 2.1533, 10.6217)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F245D #5D480F
analogous
#0F4B5D #0F245D #210F5D
triadic
#0F245D #5D0F24 #245D0F
tetradic
#0F245D #5D0F4B #5D480F #0F5D21
square
#0F245D #5D0F4B #5D480F #0F5D21
split-complementary
#0F245D #5D210F #4B5D0F
monochromatic
#040A1A #061028 #0F245D #173892 #204DC6

Accessibility & contrast

On white

14.68
#0F245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F245D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F245D#FFFFFF#000000##FFFFFF
##0F245D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f245d;
/* rgb */ color: rgb(15, 36, 93);
/* oklch */ color: oklch(28.4% 0.106 264.9);
Tailwind
colors: {
  custom: {
    50: '#5c5e8b',
    500: '#0f245d',
    950: '#000000',
  },
}
SCSS
$custom: #0f245d;
$custom-light: #5c5e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f245d",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 223.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28383,
    "c": 0.10558,
    "h": 264.9
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#0F245D
secondary
#967B31
accent
#BE39EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F245D

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

Preview Lab → · Contrast checker → · Palette generator →

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