#0F2A4B#0F2A4B

#0F2A4B is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.069 H 255.0°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#0F2A4B
RGBrgb(15, 42, 75)
HSLhsl(213, 67%, 18%)
HSVhsv(213, 80%, 29%)
CMYKcmyk(80%, 44%, 0%, 70.6%)
CIE-LABlab(16.82, 3.03, -23.42)
CIE-LCHlch(16.82, 23.62, 277.38°)
OKLaboklab(28.36% -0.0179 -0.0668)
OKLCHoklch(28.36% 0.069 255)
XYZxyz(2.2945, 2.2652, 6.9716)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A4B #4B300F
analogous
#0F484B #0F2A4B #120F4B
triadic
#0F2A4B #4B0F2A #2A4B0F
tetradic
#0F2A4B #4B0F48 #4B300F #0F4B12
square
#0F2A4B #4B0F48 #4B300F #0F4B12
split-complementary
#0F2A4B #4B120F #484B0F
monochromatic
#050E1A #050E1A #0F2A4B #19477E #2363B1

Accessibility & contrast

On white

14.45
#0F2A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A4B
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A4B#FFFFFF#000000##FFFFFF
##0F2A4B1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#11274A
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2a4b;
/* rgb */ color: rgb(15, 42, 75);
/* oklch */ color: oklch(28.4% 0.069 255.0);
Tailwind
colors: {
  custom: {
    50: '#57637d',
    500: '#0f2a4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a4b;
$custom-light: #57637d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a4b",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 213,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28361,
    "c": 0.06916,
    "h": 255
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#0F2A4B
secondary
#855F30
accent
#9C3EEA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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