#0F245A#0F245A

#0F245A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.101 H 264.6°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#0F245A
RGBrgb(15, 36, 90)
HSLhsl(223, 71%, 21%)
HSVhsv(223, 83%, 35%)
CMYKcmyk(83.3%, 60%, 0%, 64.7%)
CIE-LABlab(16.01, 14.07, -34.85)
CIE-LCHlch(16.01, 37.59, 291.99°)
OKLaboklab(28.1% -0.0095 -0.1005)
OKLCHoklch(28.1% 0.101 264.6)
XYZxyz(2.6727, 2.1012, 9.9356)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F245A #5A450F
analogous
#0F495A #0F245A #1F0F5A
triadic
#0F245A #5A0F24 #245A0F
tetradic
#0F245A #5A0F49 #5A450F #0F5A1F
square
#0F245A #5A0F49 #5A450F #0F5A1F
split-complementary
#0F245A #5A1F0F #495A0F
monochromatic
#040A1A #060F26 #0F245A #18398E #204EC3

Accessibility & contrast

On white

14.79
#0F245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F245A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F245A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F245A#FFFFFF#000000##FFFFFF
##0F245A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f245a;
/* rgb */ color: rgb(15, 36, 90);
/* oklch */ color: oklch(28.1% 0.101 264.6);
Tailwind
colors: {
  custom: {
    50: '#5b5e89',
    500: '#0f245a',
    950: '#000000',
  },
}
SCSS
$custom: #0f245a;
$custom-light: #5b5e89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f245a",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 223.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28103,
    "c": 0.101,
    "h": 264.6
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#0F245A
secondary
#947831
accent
#BC3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F245A

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

Preview Lab → · Contrast checker → · Palette generator →

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