#0F2869#0F2869

#0F2869 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.118 H 264.4°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#0F2869
RGBrgb(15, 40, 105)
HSLhsl(223, 75%, 24%)
HSVhsv(223, 86%, 41%)
CMYKcmyk(85.7%, 61.9%, 0%, 58.8%)
CIE-LABlab(18.53, 17.57, -40.64)
CIE-LCHlch(18.53, 44.28, 293.37°)
OKLaboklab(30.42% -0.0116 -0.1175)
OKLCHoklch(30.42% 0.118 264.4)
XYZxyz(3.5047, 2.6386, 13.6865)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2869 #69500F
analogous
#0F5569 #0F2869 #230F69
triadic
#0F2869 #690F28 #28690F
tetradic
#0F2869 #690F55 #69500F #0F6923
square
#0F2869 #690F55 #69500F #0F6923
split-complementary
#0F2869 #69230F #55690F
monochromatic
#040A1B #071433 #0F2869 #173C9F #1E51D4

Accessibility & contrast

On white

13.75
#0F2869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2869
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2869#FFFFFF#000000##FFFFFF
##0F28691.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2869;
/* rgb */ color: rgb(15, 40, 105);
/* oklch */ color: oklch(30.4% 0.118 264.4);
Tailwind
colors: {
  custom: {
    50: '#5f6194',
    500: '#0f2869',
    950: '#000000',
  },
}
SCSS
$custom: #0f2869;
$custom-light: #5f6194;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2869",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 105
  },
  "hsl": {
    "h": 223.333,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.11806,
    "h": 264.4
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#0F2869
secondary
#A18332
accent
#BE36F2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F2869

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

Preview Lab → · Contrast checker → · Palette generator →

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