#0F245E#0F245E

#0F245E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.107 H 265.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#0F245E
RGBrgb(15, 36, 94)
HSLhsl(224, 72%, 21%)
HSVhsv(224, 84%, 37%)
CMYKcmyk(84%, 61.7%, 0%, 63.1%)
CIE-LABlab(16.36, 15.80, -36.95)
CIE-LCHlch(16.36, 40.19, 293.16°)
OKLaboklab(28.48% -0.0093 -0.1067)
OKLCHoklch(28.48% 0.107 265)
XYZxyz(2.8475, 2.1711, 10.8565)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F245E #5E490F
analogous
#0F4C5E #0F245E #220F5E
triadic
#0F245E #5E0F24 #245E0F
tetradic
#0F245E #5E0F4C #5E490F #0F5E22
square
#0F245E #5E0F4C #5E490F #0F5E22
split-complementary
#0F245E #5E220F #4C5E0F
monochromatic
#040A1A #071029 #0F245E #173893 #204CC8

Accessibility & contrast

On white

14.64
#0F245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F245E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F245E#FFFFFF#000000##FFFFFF
##0F245E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f245e;
/* rgb */ color: rgb(15, 36, 94);
/* oklch */ color: oklch(28.5% 0.107 265.0);
Tailwind
colors: {
  custom: {
    50: '#5c5e8c',
    500: '#0f245e',
    950: '#000000',
  },
}
SCSS
$custom: #0f245e;
$custom-light: #5c5e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f245e",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 224.051,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28478,
    "c": 0.1071,
    "h": 265
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#0F245E
secondary
#977C31
accent
#BF39EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F245E

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

Preview Lab → · Contrast checker → · Palette generator →

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