#0F2A65#0F2A65

#0F2A65 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.109 H 263.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#0F2A65
RGBrgb(15, 42, 101)
HSLhsl(221, 74%, 23%)
HSVhsv(221, 85%, 40%)
CMYKcmyk(85.1%, 58.4%, 0%, 60.4%)
CIE-LABlab(18.79, 14.37, -37.62)
CIE-LCHlch(18.79, 40.27, 290.91°)
OKLaboklab(30.5% -0.0133 -0.1086)
OKLCHoklch(30.5% 0.109 263)
XYZxyz(3.3731, 2.6967, 12.6521)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A65 #654A0F
analogous
#0F5565 #0F2A65 #1F0F65
triadic
#0F2A65 #650F2A #2A650F
tetradic
#0F2A65 #650F55 #654A0F #0F651F
square
#0F2A65 #650F55 #654A0F #0F651F
split-complementary
#0F2A65 #651F0F #55650F
monochromatic
#040B1B #071430 #0F2A65 #17409A #1F56D0

Accessibility & contrast

On white

13.64
#0F2A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A65
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A65#FFFFFF#000000##FFFFFF
##0F2A651.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2a65;
/* rgb */ color: rgb(15, 42, 101);
/* oklch */ color: oklch(30.5% 0.109 263.0);
Tailwind
colors: {
  custom: {
    50: '#5e6391',
    500: '#0f2a65',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a65;
$custom-light: #5e6391;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a65",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 221.163,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30495,
    "c": 0.10938,
    "h": 263
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#0F2A65
secondary
#9E7C32
accent
#B637F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2A65

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

Preview Lab → · Contrast checker → · Palette generator →

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