#0F2250#0F2250

#0F2250 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.088 H 264.3°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#0F2250
RGBrgb(15, 34, 80)
HSLhsl(222, 68%, 19%)
HSVhsv(222, 81%, 31%)
CMYKcmyk(81.3%, 57.5%, 0%, 68.6%)
CIE-LABlab(14.54, 11.22, -30.49)
CIE-LCHlch(14.54, 32.49, 290.20°)
OKLaboklab(26.72% -0.0087 -0.0878)
OKLCHoklch(26.72% 0.088 264.3)
XYZxyz(2.2165, 1.8246, 7.8232)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2250 #503D0F
analogous
#0F4250 #0F2250 #1C0F50
triadic
#0F2250 #500F22 #22500F
tetradic
#0F2250 #500F42 #503D0F #0F501C
square
#0F2250 #500F42 #503D0F #0F501C
split-complementary
#0F2250 #501C0F #42500F
monochromatic
#050B1A #050C1C #0F2250 #193884 #224EB7

Accessibility & contrast

On white

15.38
#0F2250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2250
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2250#FFFFFF#000000##FFFFFF
##0F22501.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042852
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2250;
/* rgb */ color: rgb(15, 34, 80);
/* oklch */ color: oklch(26.7% 0.088 264.3);
Tailwind
colors: {
  custom: {
    50: '#585c81',
    500: '#0f2250',
    950: '#000000',
  },
}
SCSS
$custom: #0f2250;
$custom-light: #585c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2250",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 222.462,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26723,
    "c": 0.0882,
    "h": 264.3
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#0F2250
secondary
#8A7031
accent
#B83DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2250

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

Preview Lab → · Contrast checker → · Palette generator →

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