#0F2242#0F2242

#0F2242 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.065 H 260.2°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0F2242
RGBrgb(15, 34, 66)
HSLhsl(218, 63%, 16%)
HSVhsv(218, 77%, 26%)
CMYKcmyk(77.3%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.46, 5.08, -22.58)
CIE-LCHlch(13.46, 23.14, 282.67°)
OKLaboklab(25.56% -0.0112 -0.0645)
OKLCHoklch(25.56% 0.065 260.2)
XYZxyz(1.7520, 1.6388, 5.3772)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2242 #422F0F
analogous
#0F3B42 #0F2242 #150F42
triadic
#0F2242 #420F22 #22420F
tetradic
#0F2242 #420F3B #422F0F #0F4215
square
#0F2242 #420F3B #422F0F #0F4215
split-complementary
#0F2242 #42150F #3B420F
monochromatic
#060D19 #060D19 #0F2242 #1A3C74 #2655A6

Accessibility & contrast

On white

15.82
#0F2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2242
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2242#FFFFFF#000000##FFFFFF
##0F22421.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#0A2041
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2242;
/* rgb */ color: rgb(15, 34, 66);
/* oklch */ color: oklch(25.6% 0.065 260.2);
Tailwind
colors: {
  custom: {
    50: '#555c76',
    500: '#0f2242',
    950: '#000000',
  },
}
SCSS
$custom: #0f2242;
$custom-light: #555c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2242",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 217.647,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25557,
    "c": 0.06544,
    "h": 260.2
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#0F2242
secondary
#7C6030
accent
#A942E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F2242

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

Preview Lab → · Contrast checker → · Palette generator →

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