#0F225A#0F225A

#0F225A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.104 H 265.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#0F225A
RGBrgb(15, 34, 90)
HSLhsl(225, 71%, 21%)
HSVhsv(225, 83%, 35%)
CMYKcmyk(83.3%, 62.2%, 0%, 64.7%)
CIE-LABlab(15.40, 15.57, -35.84)
CIE-LCHlch(15.40, 39.08, 293.48°)
OKLaboklab(27.64% -0.0079 -0.1035)
OKLCHoklch(27.64% 0.104 265.6)
XYZxyz(2.6138, 1.9835, 9.9160)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F225A #5A470F
analogous
#0F475A #0F225A #210F5A
triadic
#0F225A #5A0F22 #225A0F
tetradic
#0F225A #5A0F47 #5A470F #0F5A21
square
#0F225A #5A0F47 #5A470F #0F5A21
split-complementary
#0F225A #5A210F #475A0F
monochromatic
#040A1A #060E26 #0F225A #18368E #204AC3

Accessibility & contrast

On white

15.03
#0F225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F225A
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F225A#FFFFFF#000000##FFFFFF
##0F225A1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#002359
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f225a;
/* rgb */ color: rgb(15, 34, 90);
/* oklch */ color: oklch(27.6% 0.104 265.6);
Tailwind
colors: {
  custom: {
    50: '#5b5c89',
    500: '#0f225a',
    950: '#000000',
  },
}
SCSS
$custom: #0f225a;
$custom-light: #5b5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f225a",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 224.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27645,
    "c": 0.1038,
    "h": 265.6
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#0F225A
secondary
#947B31
accent
#C03AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F225A

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

Preview Lab → · Contrast checker → · Palette generator →

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