#0F2853#0F2853

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

Color values

HEX#0F2853
RGBrgb(15, 40, 83)
HSLhsl(218, 69%, 19%)
HSVhsv(218, 82%, 33%)
CMYKcmyk(81.9%, 51.8%, 0%, 67.5%)
CIE-LABlab(16.72, 8.01, -29.01)
CIE-LCHlch(16.72, 30.10, 285.43°)
OKLaboklab(28.46% -0.014 -0.0833)
OKLCHoklch(28.46% 0.084 260.5)
XYZxyz(2.5166, 2.2434, 8.4823)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2853 #533A0F
analogous
#0F4A53 #0F2853 #180F53
triadic
#0F2853 #530F28 #28530F
tetradic
#0F2853 #530F4A #533A0F #0F5318
square
#0F2853 #530F4A #533A0F #0F5318
split-complementary
#0F2853 #53180F #4A530F
monochromatic
#050C1A #060F1F #0F2853 #184187 #225ABB

Accessibility & contrast

On white

14.49
#0F2853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2853
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2853#FFFFFF#000000##FFFFFF
##0F28531.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102D55
Deuteranopia (green-blind)
#012652
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2853;
/* rgb */ color: rgb(15, 40, 83);
/* oklch */ color: oklch(28.5% 0.084 260.5);
Tailwind
colors: {
  custom: {
    50: '#596184',
    500: '#0f2853',
    950: '#000000',
  },
}
SCSS
$custom: #0f2853;
$custom-light: #596184;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2853",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 83
  },
  "hsl": {
    "h": 217.941,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28461,
    "c": 0.08445,
    "h": 260.5
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#0F2853
secondary
#8D6B31
accent
#AB3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2853

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

Preview Lab → · Contrast checker → · Palette generator →

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